fix: correct path to registry config and update go.mod

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-01-23 03:00:27 -05:00
1 parent e13561ec4d
commit 5449c35dbe
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ func TriggerPostRegistryLogin(server string, username string, password string) e
return fmt.Errorf("Unable to marshal registry configuration to yaml: %w", err)
}
if err := os.WriteFile(registryFile, data, os.FileMode(0644)); err != nil {
if err := os.WriteFile(RegistryConfigPath, data, os.FileMode(0644)); err != nil {
return fmt.Errorf("Unable to write registry configuration to file: %w", err)
}