diff --git a/deployment/cre/jobs/orgsettings.go b/deployment/cre/jobs/orgsettings.go index c345a177e5f..65436d607bd 100644 --- a/deployment/cre/jobs/orgsettings.go +++ b/deployment/cre/jobs/orgsettings.go @@ -25,7 +25,7 @@ func CombineCRESettingsFiles(wd string, fs fs.FS) ([]byte, error) { return settings.CombineTOMLFiles(os.DirFS(wd)) } -// copyOrgFiles makes two copies of each org file. One with an `org_` prefix and one lower-case. +// copyOrgFiles makes a copy of each org file, with an `org_` prefix. func copyOrgFiles(dir string) error { dir = filepath.Join(dir, "org") err := fs.WalkDir(os.DirFS(dir), ".", func(path string, d fs.DirEntry, err error) error { @@ -44,13 +44,6 @@ func copyOrgFiles(dir string) error { if err != nil { return fmt.Errorf("failed to copy file %s to %s: %w", name, prefixed, err) } - lower := strings.ToLower(name) - if name != lower { // no need for a copy - err = copyFile(dir, name, lower) - if err != nil { - return fmt.Errorf("failed to copy file %s to %s: %w", name, lower, err) - } - } return nil })