Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement new service stop style #1025

Closed
wants to merge 8 commits into from
Closed

implement new service stop style #1025

wants to merge 8 commits into from

Conversation

ilgooz
Copy link
Contributor

@ilgooz ilgooz commented Jun 5, 2019

while using new instance db.

depends on #1024

}

// stop the instance and delete it
srv.Hash = o.Hash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why changing the hash??

}

// get instance's service from db.
srv, err := i.db.Get(o.ServiceHash)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it's getting the service??
It should only stop the instance and delete it.

@NicolasMahe
Copy link
Member

should be close because of #1035

@ilgooz ilgooz closed this Jun 10, 2019
@ilgooz ilgooz deleted the feature/new-stop branch June 10, 2019 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants