-
Notifications
You must be signed in to change notification settings - Fork 121
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
Fixed empty machineID issue and enhanced print statements #233
Conversation
pkg/controller/machine.go
Outdated
_, err = driver.GetMachine(machineID) | ||
if err != nil && status.Code(err) != codes.Unimplemented { | ||
// If GetMachine was implemented and error occurred | ||
glog.V(2).Infof("Get Machine called failed with the following error: %s", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GetMachine call failed
- typo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
pkg/controller/machine.go
Outdated
err = driver.ShutDownMachine(machineID) | ||
if err != nil && status.Code(err) != codes.Unimplemented { | ||
// If ShutDownMachine was implemented and error occurred | ||
glog.V(2).Infof("Shutdown Machine called failed with the following error: %s", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, same as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
What this PR does / why we need it:
Fixes issues on machine-controller-manager while integrating with
cmi-client
branch.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: