summaryrefslogtreecommitdiff
path: root/src/rhctl/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl/main.go')
-rw-r--r--src/rhctl/main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rhctl/main.go b/src/rhctl/main.go
index 23a7f13..4638293 100644
--- a/src/rhctl/main.go
+++ b/src/rhctl/main.go
@@ -116,6 +116,11 @@ func main() {
}(server)
}
+ // TODO: remove this after testing server interface
+ for {
+ rhl.Printf("new server state: %+v", <-servers[0].Updates)
+ }
+
<-stop
rhl.Printf("at least one essential part has stopped - bringing down the whole process")
}