diff options
Diffstat (limited to 'patchset.config.go')
| -rw-r--r-- | patchset.config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patchset.config.go b/patchset.config.go index a8b34f4..94f52b0 100644 --- a/patchset.config.go +++ b/patchset.config.go @@ -7,8 +7,8 @@ import ( "strings" "github.com/google/uuid" - "go.wit.com/lib/ENV" "go.wit.com/lib/config" + "go.wit.com/lib/env" "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" "google.golang.org/protobuf/proto" @@ -21,7 +21,7 @@ func (f *Forge) InitPatchsets() error { } func (f *Forge) SavePatchsets() error { - filename := ENV.Get("PatchPB") + filename := env.Get("PatchPB") regfile, err := os.OpenFile(filename, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0666) if err != nil { log.Info("SavePatchsets() filename open error:", filename, err) |
