@@ -29,8 +29,8 @@ const (
2929 // deploySuffix deploy tool name suffix.
3030 deploySuffix = "_deploy"
3131
32- // DebugArg enables debug mode for the deployment job.
33- DebugArg = "debug "
32+ // VerboseArg enables verbose mode for the deployment job.
33+ VerboseArg = "verbose "
3434 // DryRunArg runs the deployment job on dry-run.
3535 DryRunArg = "dry-run"
3636 // ForceArg forces the recreation of the deployment job.
@@ -61,10 +61,10 @@ place. Inspect the error message below to assess the issue.`,
6161 }
6262
6363 // Deployment job flags.
64- var debug , dryRun , force bool
64+ var verbose , dryRun , force bool
6565
66- if v , ok := ctr .GetArguments ()[DebugArg ].(bool ); ok {
67- debug = v
66+ if v , ok := ctr .GetArguments ()[VerboseArg ].(bool ); ok {
67+ verbose = v
6868 }
6969 if v , ok := ctr .GetArguments ()[DryRunArg ].(bool ); ok {
7070 dryRun = v
@@ -77,7 +77,7 @@ place. Inspect the error message below to assess the issue.`,
7777 logsCmd := d .job .GetJobLogFollowCmd (cfg .Namespace ())
7878
7979 // Issue the deployment job using the informed flags.
80- err = d .job .Run (ctx , debug , dryRun , force , cfg .Namespace (), d .image )
80+ err = d .job .Run (ctx , verbose , dryRun , force , cfg .Namespace (), d .image )
8181 if err != nil {
8282 return mcp .NewToolResultError (fmt .Sprintf (`
8383Unable to issue the deployment Job, it returned the following error:
@@ -101,14 +101,14 @@ deployment status; this can take a few minutes depending on cluster performance.
101101Use the tool periodically to verify that the deployment is proceeding as expected.
102102
103103Informed flags:
104- - debug : %v
104+ - verbose : %v
105105 - dry-run: %v
106106 - force: %v
107107
108108You can follow the Kubernetes Job logs by running:
109109
110110 %s` ,
111- d .appName + statusSuffix , debug , dryRun , force , logsCmd ,
111+ d .appName + statusSuffix , verbose , dryRun , force , logsCmd ,
112112 )), nil
113113}
114114
@@ -143,9 +143,9 @@ Job and create a new one regardless of its state.`,
143143 mcp .DefaultBool (false ),
144144 ),
145145 mcp .WithBoolean (
146- DebugArg ,
146+ VerboseArg ,
147147 mcp .Description (`
148- Sets the debug mode for the deployment job. This will enable verbose logging and
148+ Sets verbose mode for the deployment job. This enables debug logging and
149149additional platform deployment information.` ,
150150 ),
151151 mcp .DefaultBool (false ),
0 commit comments