Skip to content

Commit 7352c88

Browse files
committed
lint
On-behalf-of: @SAP [email protected]
1 parent 0c61f4c commit 7352c88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/pkg/bind/plugin/bind.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ func (b *BindOptions) Run(ctx context.Context) error {
180180

181181
// wait for phase to be bound
182182
if !apiBinding.IsBound() {
183-
if err := wait.PollUntilContextTimeout(ctx, time.Millisecond*500, b.BindWaitTimeout, true, func(ctx context.Context) (done bool, err error) {
184-
if err = apiBinding.Refresh(ctx, kcpClusterClient.Cluster(currentClusterName)); err != nil {
183+
if err := wait.PollUntilContextTimeout(ctx, time.Millisecond*500, b.BindWaitTimeout, true, func(ctx context.Context) (bool, error) {
184+
if err := apiBinding.Refresh(ctx, kcpClusterClient.Cluster(currentClusterName)); err != nil {
185185
return false, err
186186
}
187187

0 commit comments

Comments
 (0)