Skip to content

Commit 3ea1b26

Browse files
committed
lint fix
Signed-off-by: Rizul Gupta <mail2rizul@gmail.com>
1 parent f7d2393 commit 3ea1b26

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cmd/harbor/root/webhook/edit.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
"github.com/goharbor/go-client/pkg/sdk/v2.0/models"
2020
"github.com/goharbor/harbor-cli/pkg/api"
2121
"github.com/goharbor/harbor-cli/pkg/prompt"
22-
"github.com/goharbor/harbor-cli/pkg/utils"
2322
"github.com/goharbor/harbor-cli/pkg/views/webhook/edit"
2423
"github.com/spf13/cobra"
2524
)
@@ -90,7 +89,7 @@ or leave them out and use the interactive prompt to select and update a webhook.
9089
err = editWebhookView(editView)
9190
}
9291
if err != nil {
93-
return fmt.Errorf("failed to edit webhook: %v", utils.ParseHarborErrorMsg(err))
92+
return fmt.Errorf("failed to edit webhook: %v", err)
9493
}
9594
return nil
9695
},

0 commit comments

Comments
 (0)