summaryrefslogtreecommitdiff
path: root/hostnameStatus.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 14:23:19 -0600
committerJeff Carr <[email protected]>2024-01-06 14:23:19 -0600
commitba3d5a3cb24429692a1d799e73a9d53cc798212e (patch)
tree939c1a00155dfc69583bfba667730db6e13368bf /hostnameStatus.go
parent398d9fe3c44bdc8832fbf290beea7b6d13538f4b (diff)
more isolation of Update() pieces
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'hostnameStatus.go')
-rw-r--r--hostnameStatus.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostnameStatus.go b/hostnameStatus.go
index bc13f6a..87347db 100644
--- a/hostnameStatus.go
+++ b/hostnameStatus.go
@@ -296,7 +296,7 @@ func (hs *hostnameStatus) updateStatus() {
var vals []string
log.Log(STATUS, "updateStatus() START")
- hs.hostShort.Set(me.hostshort.S)
+ hs.hostShort.Set(me.statusOS.GetHostShort())
hs.domainname.Set(me.statusOS.GetDomainName())
if hs.ValidHostname() {