Skip to content

Commit eeb812f

Browse files
committed
fix(registry): env REGISTRY_VERSION conflicts
1 parent f61f709 commit eeb812f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ func main() {
6767
if err := cmd.Run(); err != nil {
6868
log.Fatal("Error creating the registry bucket: ", err)
6969
}
70+
// avoid conflicts with env variables
71+
os.Unsetenv("REGISTRY_VERSION")
7072
if len(os.Args) > 1 {
7173
cmd = exec.Command(registryBinary, os.Args[1:]...)
7274
} else {

0 commit comments

Comments
 (0)