-
Notifications
You must be signed in to change notification settings - Fork 30
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
Differential updates for outscale_load_balancer_vms #55
base: master
Are you sure you want to change the base?
Conversation
This allows to change a backend list without unregistering untouched backends.
Hello @outscale-age, Thank you for your contribution, we will merge it in the next releases after QA tests. Best Regards, |
return resource.RetryableError( | ||
fmt.Errorf("[WARN] Error, retrying: %s", err)) | ||
} | ||
return resource.NonRetryableError(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.
Can you please use utils.CheckThrottling(err)
function for Throttling checking ?
return resource.RetryableError( | ||
fmt.Errorf("[WARN] Error, retrying: %s", err)) | ||
} | ||
return resource.NonRetryableError(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.
Same here
d.Set("backend_vm_ids", managed) | ||
|
||
if managed.Len() == 0 { | ||
log.Printf("[WARN] not expected attachments found in LBU %e", e) |
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.
I'm not sure %e
can be used to print out string
variable value
Hello @outscale-toa :) |
Thanks for the review. I'll check those soon. |
Hello @outscale-age , @outscale-toa , I found another issue when the user tries to set backend vms while creating the load balancer.
The backend vms should only be set using the resource outscale_load_balancer_vms |
This allows to change a backend list without unregistering
untouched backends.
Fixes #54