chore: style and gofmt (#622)
This commit is contained in:
1 parent
a70b9e20a7
commit
d0fd97d943
6 files changed
+47
-32
No files matched your search
+3
-3
@@ -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{} {
|
||||
|
||||
Reference in new issue
Block a user