summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-28 19:56:46 -0600
committerJeff Carr <[email protected]>2024-11-28 19:56:46 -0600
commitc10d3410a2c48896c76a071643fdc8d1d7428498 (patch)
tree408053045fece7ef9536f12524e10a832a3e8e07 /init.go
parenta89dc7f9763c07305f7f73df5e91825f7fc8af1d (diff)
pull in machine
Diffstat (limited to 'init.go')
-rw-r--r--init.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.go b/init.go
index 843d869..1f8a24e 100644
--- a/init.go
+++ b/init.go
@@ -4,6 +4,7 @@ import (
"os"
"go.wit.com/lib/protobuf/gitpb"
+ "go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -31,9 +32,8 @@ func Init() *Forge {
os.Exit(-1)
}
- if f.Repos == nil {
- f.Repos = new(gitpb.Repos)
- }
+ f.Repos = new(gitpb.Repos)
+ f.Machine = new(zoopb.Machine)
f.goSrc = os.Getenv("FORGE_GOSRC")
f.ScanGoSrc()