Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2bf9dc

Browse files
committed
lint
1 parent 5aa6149 commit c2bf9dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
855855
if coderAPI == nil || coderAPI.IDPSync == nil {
856856
return false
857857
}
858-
// AsSystemRestricted is fine here because it's a read-only operation
858+
// nolint:gocritic // AsSystemRestricted is fine here because it's a read-only operation
859859
// used for telemetry reporting.
860860
return coderAPI.IDPSync.OrganizationSyncEnabled(dbauthz.AsSystemRestricted(ctx), options.Database)
861861
},

0 commit comments

Comments
 (0)