Update cmd/headscale/cli/utils.go

This commit is contained in:
Kristoffer Dalby 2022-06-26 09:52:04 +02:00 committed by GitHub
parent 647972c7cf
commit 72d1d2630e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ func getHeadscaleCLIClient() (context.Context, v1.HeadscaleServiceClient, *grpc.
Err(err). Err(err).
Caller(). Caller().
Msgf("Failed to load configuration") Msgf("Failed to load configuration")
os.Exit(-1) // we get here if logging is supressed (i.e., json output) os.Exit(-1) // we get here if logging is suppressed (i.e., json output)
} }
log.Debug(). log.Debug().