Skip to content

Commit 21fb8df

Browse files
committed
fix: Correct review
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
1 parent 84e2138 commit 21fb8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ func marshalRepositoryRulesetRule[T any](t RepositoryRuleType, params T) ([]byte
798798
case RulesetRuleTypeUpdate:
799799
paramsTyped, ok := any(params).(*UpdateRuleParameters)
800800
if !ok {
801-
return nil, fmt.Errorf("expected UpdateRuleParameters for rule type %s", t)
801+
return nil, fmt.Errorf("expected UpdateRuleParameters for rule type %v", t)
802802
}
803803
if paramsTyped == nil || *paramsTyped == (UpdateRuleParameters{}) {
804804
hasParams = false

0 commit comments

Comments
 (0)