summaryrefslogtreecommitdiff
path: root/configfile/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-22 04:18:40 -0500
committerJeff Carr <[email protected]>2024-10-22 04:18:40 -0500
commite256f02cf8caf7459269ebdba90c43936feb60bd (patch)
tree5572fc182d2a35d3a5dd9e23ebf6ea1acd61ff0e /configfile/main.go
parent8cab0857fda04a5e9b06860aec15d05342b747f1 (diff)
this is weird
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'configfile/main.go')
-rw-r--r--configfile/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/configfile/main.go b/configfile/main.go
index 4e873fa..ff3e4c0 100644
--- a/configfile/main.go
+++ b/configfile/main.go
@@ -26,7 +26,7 @@ func main() {
log.Fatalln("Failed to parse droplet:", err)
}
- // log.Println(aCluster)
+ log.Println(aCluster.String())
// show the droplets to STDOUT
for _, d := range aCluster.Droplets {
log.Println("\tdroplet =", d.Hostname, "preffered host:", d.PreferredHypervisor)
@@ -34,7 +34,7 @@ func main() {
// show the hypervisors to STDOUT
for _, h := range aCluster.Hypervisors {
- log.Println("\thypervisor =", h.Hostname)
+ log.Println("\thypervisor =", h.Hostname, h.Memory)
}
}