summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.go b/init.go
index a736bcf..9f5dea6 100644
--- a/init.go
+++ b/init.go
@@ -9,7 +9,6 @@ import (
"time"
"go.wit.com/lib/gui/shell"
- "go.wit.com/lib/hostname"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -171,7 +170,7 @@ func (f *Forge) InitMachine() {
usr, _ := user.Current()
f.Config.Username = usr.Username
}
- f.hostname, _ = hostname.Get()
+ f.hostname, _ = os.Hostname()
// log.Info(hostname, err)
}