We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f986c94 commit 78b3ad9Copy full SHA for 78b3ad9
1 file changed
cmds/identityd/main.go
@@ -16,6 +16,7 @@ import (
16
"github.com/threefoldtech/zosbase/pkg/environment"
17
"github.com/threefoldtech/zosbase/pkg/identity"
18
19
+ "github.com/rs/zerolog"
20
"github.com/rs/zerolog/log"
21
"github.com/threefoldtech/zbus"
22
"github.com/threefoldtech/zosbase/pkg/utils"
@@ -71,10 +72,12 @@ func main() {
71
72
client, err := zbus.NewRedisClient(broker)
73
74
if farm {
75
+ zerolog.SetGlobalLevel(zerolog.Disabled)
76
env := environment.MustGet()
77
fmt.Println(env.FarmID)
78
os.Exit(0)
79
} else if net {
80
81
82
fmt.Println(env.RunningMode.String())
83
0 commit comments