Skip to content

Commit

Permalink
change: use the path to the statusfile if no name was given
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjahns committed Apr 28, 2020
1 parent 354d151 commit 74bffcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func parseStatusFileSlice(statusFile string) (string, string) {
if len(parts) > 1 {
return parts[0], parts[1]
}
return "server", parts[0]
return parts[0], parts[0]
}

func setupLogging(cfg *config.Config) log.Logger {
Expand Down

0 comments on commit 74bffcb

Please sign in to comment.