diff options
author | George Goldberg <george@gberg.me> | 2017-02-16 14:48:30 +0000 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-02-16 09:48:30 -0500 |
commit | 821939e5dab144ac14b4f288cb8d0c9e3bb570d0 (patch) | |
tree | 8bf0c97db56dbcbc88e63addf415952bbcbba05c /cmd/platform/import.go | |
parent | f87d42916f1ec4287daad29d6ffd4145dfc4b5cd (diff) | |
download | chat-821939e5dab144ac14b4f288cb8d0c9e3bb570d0.tar.gz chat-821939e5dab144ac14b4f288cb8d0c9e3bb570d0.tar.bz2 chat-821939e5dab144ac14b4f288cb8d0c9e3bb570d0.zip |
Bulk import success message not shown on error. (#5401)
Diffstat (limited to 'cmd/platform/import.go')
-rw-r--r-- | cmd/platform/import.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/platform/import.go b/cmd/platform/import.go index 76ed1fb81..2f995aad2 100644 --- a/cmd/platform/import.go +++ b/cmd/platform/import.go @@ -106,12 +106,12 @@ func bulkImportCmdF(cmd *cobra.Command, args []string) error { if lineNumber != 0 { CommandPrettyPrintln(fmt.Sprintf("Error occurred on data file line %v", lineNumber)) } - } - - if apply { - CommandPrettyPrintln("Finished Bulk Import.") } else { - CommandPrettyPrintln("Validation complete. You can now perform the import by rerunning this command with the --apply flag.") + if apply { + CommandPrettyPrintln("Finished Bulk Import.") + } else { + CommandPrettyPrintln("Validation complete. You can now perform the import by rerunning this command with the --apply flag.") + } } return nil |