Skip to content

Commit

Permalink
Fix bug where unix socket wouldnt be used by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca committed May 27, 2021
1 parent 0bbde75 commit 1ef3b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func blue(s string) string {
}

func client(host string, token string, insecure bool) (client *http.Client, err error) {
if host == "" {
if host == "" || host == "http://unix" {
homeDir, err := os.UserHomeDir()
if err != nil {
return nil, err
Expand Down

0 comments on commit 1ef3b4c

Please sign in to comment.