Skip to content

Commit

Permalink
fix sprintf type
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Mar 26, 2024
1 parent 8c25311 commit 165a9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/policy-subject_condition_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ a Subject Mapping and, by said mapping, an Attribute Value.`,

bytes, err := ioutil.ReadAll(jsonFile)
if err != nil {
cli.ExitWithError(fmt.Sprintf("Failed to read bytes from file %s", jsonFile), err)
cli.ExitWithError(fmt.Sprintf("Failed to read bytes from file: ", jsonFile), err)

Check failure on line 65 in cmd/policy-subject_condition_sets.go

View workflow job for this annotation

GitHub Actions / unit tests

fmt.Sprintf call has arguments but no formatting directives
}
ssBytes = bytes
} else {
Expand Down

0 comments on commit 165a9a0

Please sign in to comment.