We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7d2393 commit 3ea1b26Copy full SHA for 3ea1b26
1 file changed
cmd/harbor/root/webhook/edit.go
@@ -19,7 +19,6 @@ import (
19
"github.com/goharbor/go-client/pkg/sdk/v2.0/models"
20
"github.com/goharbor/harbor-cli/pkg/api"
21
"github.com/goharbor/harbor-cli/pkg/prompt"
22
- "github.com/goharbor/harbor-cli/pkg/utils"
23
"github.com/goharbor/harbor-cli/pkg/views/webhook/edit"
24
"github.com/spf13/cobra"
25
)
@@ -90,7 +89,7 @@ or leave them out and use the interactive prompt to select and update a webhook.
90
89
err = editWebhookView(editView)
91
}
92
if err != nil {
93
- return fmt.Errorf("failed to edit webhook: %v", utils.ParseHarborErrorMsg(err))
+ return fmt.Errorf("failed to edit webhook: %v", err)
94
95
return nil
96
},
0 commit comments