warning for no layout specified
This commit is contained in:
parent
5add247d4a
commit
43ef696c72
1
main.go
1
main.go
@ -400,6 +400,7 @@ func main() {
|
|||||||
|
|
||||||
if len(conf.Layout) == 0 {
|
if len(conf.Layout) == 0 {
|
||||||
conf.Layout = []string{"dist", "host", "cpu", "ram", "shell", "uptime"}
|
conf.Layout = []string{"dist", "host", "cpu", "ram", "shell", "uptime"}
|
||||||
|
fmt.Println("Warning: No layout specified in config, using default")
|
||||||
}
|
}
|
||||||
|
|
||||||
dist := getDist()
|
dist := getDist()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user