Skip to content

Commit

Permalink
Fix issue with server socket_path (#201)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Lambrecht <[email protected]>
  • Loading branch information
Max Lambrecht authored and maxlambrecht committed Jun 7, 2023
1 parent 27f21d2 commit 9831ef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/server/cli/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,8 @@ func init() {
runCmd := NewRunCmd()
runCmd.Flags().StringP(cli.ConfigFlagName, "c", defaultConfigPath, "Path to the Galadriel Server config file")

// Override the socket path flag in the run command to remove the default value. This flag takes precedence over the config file when set.
runCmd.PersistentFlags().StringP(cli.SocketPathFlagName, "", "", "Specify the path to the Galadriel Server API socket")

RootCmd.AddCommand(runCmd)
}

0 comments on commit 9831ef4

Please sign in to comment.