This fixes: pkg/api/avatar/avatar.go:261:2: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/log/file.go:102:2: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/metrics/graphitebridge/graphite.go:298:2: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/provisioning/provisioning.go:23:2: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/alert_notification.go:27:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/alert_notification.go:27:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/annotation.go:105:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/annotation.go:105:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/dashboard.go:351:2: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/dashboard.go:435:2: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/dashboard_acl.go:38:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/dashboard_acl.go:38:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/stats.go:22:2: 'if err != nil { return err }; return err' can be simplified to 'return err' (S1013) pkg/services/sqlstore/team.go:213:2: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/user.go:256:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/user.go:256:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/user.go:274:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/user.go:274:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/user.go:482:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013) pkg/services/sqlstore/user.go:482:3: 'if err != nil { return err }; return nil' can be simplified to 'return err' (S1013)
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
avatar | Loading commit data... | |
dtos | Loading commit data... | |
live | Loading commit data... | |
pluginproxy | Loading commit data... | |
static | Loading commit data... | |
admin.go | Loading commit data... | |
admin_users.go | Loading commit data... | |
alerting.go | Loading commit data... | |
alerting_test.go | Loading commit data... | |
annotations.go | Loading commit data... | |
annotations_test.go | Loading commit data... | |
api.go | Loading commit data... | |
apikey.go | Loading commit data... | |
app_routes.go | Loading commit data... | |
common.go | Loading commit data... | |
common_test.go | Loading commit data... | |
dashboard.go | Loading commit data... | |
dashboard_permission.go | Loading commit data... | |
dashboard_permission_test.go | Loading commit data... | |
dashboard_snapshot.go | Loading commit data... | |
dashboard_snapshot_test.go | Loading commit data... | |
dashboard_test.go | Loading commit data... | |
dataproxy.go | Loading commit data... | |
datasources.go | Loading commit data... | |
datasources_test.go | Loading commit data... | |
folder.go | Loading commit data... | |
folder_permission.go | Loading commit data... | |
folder_permission_test.go | Loading commit data... | |
folder_test.go | Loading commit data... | |
frontendsettings.go | Loading commit data... | |
grafana_com_proxy.go | Loading commit data... | |
http_server.go | Loading commit data... | |
index.go | Loading commit data... | |
login.go | Loading commit data... | |
login_oauth.go | Loading commit data... | |
metrics.go | Loading commit data... | |
org.go | Loading commit data... | |
org_invite.go | Loading commit data... | |
org_users.go | Loading commit data... | |
password.go | Loading commit data... | |
playlist.go | Loading commit data... | |
playlist_play.go | Loading commit data... | |
plugins.go | Loading commit data... | |
preferences.go | Loading commit data... | |
quota.go | Loading commit data... | |
render.go | Loading commit data... | |
route_register.go | Loading commit data... | |
route_register_test.go | Loading commit data... | |
search.go | Loading commit data... | |
signup.go | Loading commit data... | |
stars.go | Loading commit data... | |
team.go | Loading commit data... | |
team_members.go | Loading commit data... | |
team_test.go | Loading commit data... | |
user.go | Loading commit data... | |
user_test.go | Loading commit data... |