Bulk import success message not shown on error. (#5401)

Этот коммит содержится в:
George Goldberg
2017-02-16 14:48:30 +00:00
коммит произвёл 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
} }