Skip to content

Commit

Permalink
fix error message: 'and' -> 'or'
Browse files Browse the repository at this point in the history
Signed-off-by: t-kikuc <[email protected]>
  • Loading branch information
t-kikuc committed Oct 7, 2024
1 parent c3f5712 commit 0c523fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/launcher/cmd/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (l *launcher) validateFlags() error {
return fmt.Errorf("git-piped-config-path must be set to load config from a git repository")
}
if l.gitSSHKeyFile != "" && l.gitSSHKeyData != "" {
return fmt.Errorf("only one of git-ssh-key-file and git-ssh-key-data can be set")
return fmt.Errorf("only one of git-ssh-key-file or git-ssh-key-data can be set")
}

Check warning on line 189 in pkg/app/launcher/cmd/launcher/launcher.go

View check run for this annotation

Codecov / codecov/patch

pkg/app/launcher/cmd/launcher/launcher.go#L187-L189

Added lines #L187 - L189 were not covered by tests
}
return nil
Expand Down

0 comments on commit 0c523fb

Please sign in to comment.