-
Notifications
You must be signed in to change notification settings - Fork 382
Make svcat broker commands with --wait support namespaced brokers #2615
Make svcat broker commands with --wait support namespaced brokers #2615
Conversation
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
if timeout == nil { | ||
notimeout := time.Duration(math.MaxInt64) | ||
timeout = ¬imeout | ||
} | ||
err = wait.PollImmediate(interval, *timeout, | ||
func() (bool, error) { | ||
broker, err = sdk.retrieveBroker(name) |
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.
this is really the key shift, from some internal name function to the name/id with scoping options added. both already existed and I guess continue to exist until some later refactor.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jboyd01 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-service-catalog-xbuild |
This PR is a
What this PR does / why we need it:
svcat broker commands with the --wait flag now wait for namespaced brokers
Which issue(s) this PR fixes
fixes #2593
Merge Checklist:
breaking the chart release and existing clients who provide a
flag that will get an error when they try to update