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

Fixed empty machineID issue and enhanced print statements #233

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

prashanth26
Copy link
Contributor

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:


@prashanth26 prashanth26 added exp/beginner Issue that requires only basic skills needs/review Needs review size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/new Issue is new and unprocessed component/machine-controller-manager platform/all kind/cleanup Something that is not needed anymore and can be cleaned up area/dev-productivity Developer productivity related (how to improve development) topology/seed Affects Seed clusters labels Feb 28, 2019
@prashanth26 prashanth26 requested review from ggaurav10 and a team as code owners February 28, 2019 08:22
_, 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)
Copy link
Member

Choose a reason for hiding this comment

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

GetMachine call failed - typo ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

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)
Copy link
Member

Choose a reason for hiding this comment

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

typo, same as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@prashanth26 prashanth26 merged commit 90c1051 into gardener:cmi-client Mar 4, 2019
@ghost ghost added the component/mcm Machine Controller Manager (including Node Problem Detector, Cluster Auto Scaler, etc.) label Mar 7, 2020
@gardener-robot gardener-robot added priority/3 Priority (lower number equals higher priority) and removed priority/3 Priority (lower number equals higher priority) labels Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev-productivity Developer productivity related (how to improve development) component/mcm Machine Controller Manager (including Node Problem Detector, Cluster Auto Scaler, etc.) exp/beginner Issue that requires only basic skills kind/cleanup Something that is not needed anymore and can be cleaned up needs/review Needs review platform/all size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/new Issue is new and unprocessed topology/seed Affects Seed clusters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants