From 0fc7c2d753bc6cfdc4d64425da1a23c3735b8409 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 27 Nov 2024 21:05:12 -0600 Subject: boo. big mistake on naming protobufs It's important to really choose good names from the start. do not think you can rename .proto files later Good software engineering practices enforced here! no bullshit. you really want to know what you are planning. --- forgeConfig/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forgeConfig/main.go') diff --git a/forgeConfig/main.go b/forgeConfig/main.go index 1efa31e..fe53fe8 100644 --- a/forgeConfig/main.go +++ b/forgeConfig/main.go @@ -11,7 +11,7 @@ import ( var VERSION string func main() { - var repos forgepb.Repos + var repos forgepb.ForgeConfigs if err := repos.ConfigLoad(); err != nil { log.Warn("forgepb.ConfigLoad() failed", err) os.Exit(-1) @@ -55,7 +55,7 @@ func main() { // try to add, then save config and exit if argv.Add { log.Info("going to add a new repo", argv.GoPath) - new1 := forgepb.Repo{ + new1 := forgepb.ForgeConfig{ GoPath: argv.GoPath, Writable: argv.Writable, ReadOnly: argv.ReadOnly, -- cgit v1.2.3