diff --git a/cmd/connector/customizer_list.go b/cmd/connector/customizer_list.go index fe7ea02..6fcd90c 100644 --- a/cmd/connector/customizer_list.go +++ b/cmd/connector/customizer_list.go @@ -18,6 +18,7 @@ func newCustomizerListCmd(client client.Client) *cobra.Command { Use: "list", Short: "List all customizers", Example: "sail conn customizers list", + Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { resp, err := client.Get(cmd.Context(), util.ResourceUrl(connectorCustomizersEndpoint)) diff --git a/cmd/connector/customizer_unlink.go b/cmd/connector/customizer_unlink.go index b88bc5f..8b4f701 100644 --- a/cmd/connector/customizer_unlink.go +++ b/cmd/connector/customizer_unlink.go @@ -41,7 +41,7 @@ func newCustomizerUnlinkCmd(client client.Client) *cobra.Command { if resp.StatusCode != http.StatusOK { body, _ := io.ReadAll(resp.Body) - return fmt.Errorf("link customizer failed. status: %s\nbody: %s", resp.Status, string(body)) + return fmt.Errorf("unlink customizer failed. status: %s\nbody: %s", resp.Status, string(body)) } var i instance