Skip to content

Commit

Permalink
Removed fmt.Println for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Font committed Sep 20, 2022
1 parent 083d2a8 commit e87b470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/headscale/cli/mockoidc.go
Expand Up @@ -31,7 +31,7 @@ var mockOidcCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
err := mockOIDC()
if err != nil {
fmt.Println(err)
log.Error().Err(err).Msgf("Error running mock OIDC server")
os.Exit(1)
}
},
Expand Down

0 comments on commit e87b470

Please sign in to comment.