-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
fix: Empty Rancher Service Labels. #1654
Conversation
7314a48
to
3aa4e47
Compare
07fcf70
to
9884728
Compare
provider/rancher/rancher.go
Outdated
for key, value := range service.LaunchConfig.Labels { | ||
rancherData.Labels[key] = value.(string) | ||
if service.LaunchConfig == nil || service.LaunchConfig.Labels == nil { | ||
log.Warnf("Rancher Service Labels are missing.") |
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.
We may add service.Name
in the log
9884728
to
5f9041b
Compare
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.
LGTM, thanks @ldez
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.
LGTM 👼
Thanks @ldez. Needs a rebase now ;)
5f9041b
to
3ff9dfd
Compare
Description
Fixes #1615