Skip to content

Commit

Permalink
Merge pull request #6937 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…6926-to-release-4.13

[release-4.13] OCPBUGS-8342: Specify filename for default registries.conf
  • Loading branch information
openshift-merge-robot committed Mar 6, 2023
2 parents f5770fd + 5c49333 commit 1b6bb66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/asset/agent/mirror/registriesconf.go
Expand Up @@ -248,7 +248,8 @@ func (i *RegistriesConf) validateReleaseImageIsSameInRegistriesConf(releaseImage

func (i *RegistriesConf) generateDefaultRegistriesConf() error {
i.File = &asset.File{
Data: []byte(defaultRegistriesConf),
Filename: RegistriesConfFilename,
Data: []byte(defaultRegistriesConf),
}
registriesConf := &sysregistriesv2.V2RegistriesConf{}
if err := toml.Unmarshal([]byte(defaultRegistriesConf), registriesConf); err != nil {
Expand Down

0 comments on commit 1b6bb66

Please sign in to comment.