1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Removed fmt.Println for linting

This commit is contained in:
Juan Font 2022-09-20 21:06:43 +00:00
parent 083d2a871c
commit e87b470996

View File

@ -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)
}
},