chore: style and gofmt (#622)

This commit is contained in:
1138-4EB
2019-01-08 19:40:14 +01:00
committed by GitHub
parent a70b9e20a7
commit d0fd97d943
6 changed files with 47 additions and 32 deletions

View File

@@ -43,14 +43,14 @@ func runRules(st *storage.Storage, cmd *cobra.Command, users func(*users.User),
return
}
settings, err := st.Settings.Get()
s, err := st.Settings.Get()
checkErr(err)
if global != nil {
global(settings)
global(s)
}
printRules(settings.Rules, id)
printRules(s.Rules, id)
}
func getUserIdentifier(flags *pflag.FlagSet) interface{} {