PLTCONN-3577: Fix typo

This commit is contained in:
fangming-ning-sp
2023-09-07 13:38:28 -05:00
parent b475ee2b7c
commit 1ae1624984
2 changed files with 2 additions and 1 deletions

View File

@@ -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))

View File

@@ -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