Bulk import success message not shown on error. (#5401)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
f87d42916f
Коммит
821939e5da
@@ -106,13 +106,13 @@ func bulkImportCmdF(cmd *cobra.Command, args []string) error {
|
|||||||
if lineNumber != 0 {
|
if lineNumber != 0 {
|
||||||
CommandPrettyPrintln(fmt.Sprintf("Error occurred on data file line %v", lineNumber))
|
CommandPrettyPrintln(fmt.Sprintf("Error occurred on data file line %v", lineNumber))
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
|
||||||
if apply {
|
if apply {
|
||||||
CommandPrettyPrintln("Finished Bulk Import.")
|
CommandPrettyPrintln("Finished Bulk Import.")
|
||||||
} else {
|
} else {
|
||||||
CommandPrettyPrintln("Validation complete. You can now perform the import by rerunning this command with the --apply flag.")
|
CommandPrettyPrintln("Validation complete. You can now perform the import by rerunning this command with the --apply flag.")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user