summaryrefslogtreecommitdiff
path: root/doConfig.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-05 06:11:57 -0500
committerJeff Carr <[email protected]>2025-10-05 06:11:57 -0500
commitc27727c8e0111f4830ac365614a0de7198314306 (patch)
tree708a97fe4ac3d72101f88e398a86a9e74a74ae8e /doConfig.go
parent44c1fcc9c316636fdc4f52f11ee3eb8045cdfcd1 (diff)
s/GoPath/Namespace/v0.25.57
Diffstat (limited to 'doConfig.go')
-rw-r--r--doConfig.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/doConfig.go b/doConfig.go
index 6c874be..d5a97b0 100644
--- a/doConfig.go
+++ b/doConfig.go
@@ -34,10 +34,11 @@ func doConfig() {
// try to add, then save config and exit
if argv.Config.Add != nil {
- log.Info("going to add a new repo", argv.Config.Add.GoPath)
- deleteGoPath(me.forge, argv.Config.Add.GoPath)
+ log.Info("going to add a new repo", argv.Config.Add.Namespace)
+ deleteGoPath(me.forge, argv.Config.Add.Namespace)
new1 := forgepb.ForgeConfig{
- GoPath: argv.Config.Add.GoPath,
+ Namespace: argv.Config.Add.Namespace,
+ GoPath: argv.Config.Add.Namespace,
Writable: argv.Config.Add.Writable,
ReadOnly: argv.Config.Add.ReadOnly,
Private: argv.Config.Add.Private,