mirror of
https://github.com/LukeHagar/sailpoint-cli.git
synced 2025-12-06 04:21:15 +00:00
PLTCONN-3577: Fix typo
This commit is contained in:
@@ -18,6 +18,7 @@ func newCustomizerListCmd(client client.Client) *cobra.Command {
|
|||||||
Use: "list",
|
Use: "list",
|
||||||
Short: "List all customizers",
|
Short: "List all customizers",
|
||||||
Example: "sail conn customizers list",
|
Example: "sail conn customizers list",
|
||||||
|
Args: cobra.NoArgs,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
|
||||||
resp, err := client.Get(cmd.Context(), util.ResourceUrl(connectorCustomizersEndpoint))
|
resp, err := client.Get(cmd.Context(), util.ResourceUrl(connectorCustomizersEndpoint))
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ func newCustomizerUnlinkCmd(client client.Client) *cobra.Command {
|
|||||||
|
|
||||||
if resp.StatusCode != http.StatusOK {
|
if resp.StatusCode != http.StatusOK {
|
||||||
body, _ := io.ReadAll(resp.Body)
|
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
|
var i instance
|
||||||
|
|||||||
Reference in New Issue
Block a user