Skip to content

Commit f268227

Browse files
committed
fix formatting
1 parent fe0e466 commit f268227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/rbac/authz.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ func (r *AuthzCheckRecorder) String() string {
846846
}
847847

848848
checks := make([]string, 0, len(r.checks))
849-
for check, result := range r.checks {
850-
checks = append(checks, fmt.Sprintf("%v=%v", check, result))
849+
for _, check := range r.checks {
850+
checks = append(checks, fmt.Sprintf("%v=%v", check.name, check.result))
851851
}
852852
return strings.Join(checks, "; ")
853853
}

0 commit comments

Comments
 (0)