diff --git a/pkg/asset/installconfig/ovirt/config.go b/pkg/asset/installconfig/ovirt/config.go index afd02bbe734..656fbbf851d 100644 --- a/pkg/asset/installconfig/ovirt/config.go +++ b/pkg/asset/installconfig/ovirt/config.go @@ -68,9 +68,9 @@ func (c *Config) Save() error { } path := discoverPath() - err = os.MkdirAll(filepath.Dir(path), os.FileMode(700)) + err = os.MkdirAll(filepath.Dir(path), 0700) if err != nil { return err } - return ioutil.WriteFile(path, out, os.FileMode(0600)) + return ioutil.WriteFile(path, out, 0600) }