Skip to content

Commit

Permalink
fix: Scorecard configuration ServiceAccount tag (openshift#166)
Browse files Browse the repository at this point in the history
The tag that configures the serialization of the ServiceAccount field
for the Scorecard configuration incorrectly names the field
"string", which results in the `serviceaccount` field being empty after
unmarshalling, therefore being ignored.
Update the tag to name the field `serviceaccount`

Upstream-repository: api
Upstream-commit: 3e95d2c8cdd80dbf68f09a7647601239904d20fd
  • Loading branch information
sergioifg94 authored and timflannagan committed Nov 30, 2021
1 parent 8ef6901 commit 7bc1b26
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -24,7 +24,7 @@ type Configuration struct {
Storage Storage `json:"storage,omitempty" yaml:"storage,omitempty"`

// ServiceAccount is the service account under which scorecard tests are run. This field is optional. If left unset, the `default` service account will be used.
ServiceAccount string `json:"string,omitempty" yaml:"string,omitempty"`
ServiceAccount string `json:"serviceaccount,omitempty" yaml:"serviceaccount,omitempty"`
}

// StageConfiguration configures a set of tests to be run.
Expand Down

0 comments on commit 7bc1b26

Please sign in to comment.