Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Process error from stop.go cobra CLI
  • Loading branch information
Valery Piashchynski committed Feb 11, 2020
commit 14c0d45e2317f39c41b6015381626a99de8e510b
3 changes: 1 addition & 2 deletions cmd/rr/cmd/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func stopHandler(cmd *cobra.Command, args []string) error {
if err != nil {
return err
}
defer client.Close()

util.Printf("<green>Stopping RoadRunner</reset>: ")

Expand All @@ -48,5 +47,5 @@ func stopHandler(cmd *cobra.Command, args []string) error {
}

util.Printf("<green+hb>done</reset>\n")
return nil
return client.Close()
}