You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.Flags().StringP(flag.ClusterID, flag.ClusterIDShort, "", "The ID of the target cluster.")
122
123
cmd.Flags().StringP(flag.DisplayName, flag.DisplayNameShort, "", "Display name for the migration.")
123
124
cmd.Flags().String(flag.MigrationConfigFile, "", "Path to a migration config JSON file. Use \"ticloud serverless migration template --mode <mode>\" to print templates.")
124
-
cmd.Flags().Bool(flag.MigrationDryRun, false, "Run a migration precheck (dry run) with the provided inputs without creating a migration.")
125
+
cmd.Flags().Bool(flag.DryRun, false, "Run a migration precheck (dry run) with the provided inputs without creating a migration.")
125
126
126
127
returncmd
127
128
}
@@ -216,16 +217,12 @@ func printPrecheckSummary(result *pkgmigration.MigrationPrecheck, h *internal.He
216
217
if!shouldPrintPrecheckItem(item.Status) {
217
218
continue
218
219
}
219
-
varstatusstring
220
-
ifitem.Status!=nil {
221
-
status=string(*item.Status)
222
-
}
223
220
rows=append(rows, output.Row{
224
-
precheckItemType(item.Type),
225
-
status,
226
-
aws.ToString(item.Description),
227
-
aws.ToString(item.Reason),
228
-
aws.ToString(item.Solution),
221
+
string(pointer.Get(item.Type)),
222
+
string(pointer.Get(item.Status)),
223
+
pointer.Get(item.Description),
224
+
pointer.Get(item.Reason),
225
+
pointer.Get(item.Solution),
229
226
})
230
227
}
231
228
iflen(rows) ==0 {
@@ -234,13 +231,6 @@ func printPrecheckSummary(result *pkgmigration.MigrationPrecheck, h *internal.He
0 commit comments