mirror of
https://github.com/openshift/image-registry.git
synced 2026-02-05 09:45:55 +01:00
Make linter happy
This commit is contained in:
@@ -42,7 +42,9 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
// Prevent a warning about unrecognized environment variable
|
||||
os.Unsetenv("REGISTRY_CONFIGURATION_PATH")
|
||||
if err := os.Unsetenv("REGISTRY_CONFIGURATION_PATH"); err != nil {
|
||||
log.Fatalf("Unable to unset REGISTRY_CONFIGURATION_PATH: %v", err)
|
||||
}
|
||||
|
||||
configFile, err := os.Open(configurationPath)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user