Commit 9fe9513c authored by Sharif Elgamal's avatar Sharif Elgamal

only use retrieval code for multinode clusters

parent 95755c07
......@@ -33,8 +33,6 @@ matrix:
script: make
after_success:
- bash <(curl -s https://codecov.io/bash)
travisBuddy:
regex: (FAIL:|\.go:\d+:|^panic:|failed$)
notifications:
webhooks:
urls:
......
......@@ -107,7 +107,7 @@ var statusCmd = &cobra.Command{
var statuses []*Status
if nodeName != "" || statusFormat != defaultStatusFormat {
if nodeName != "" || statusFormat != defaultStatusFormat && len(cc.Nodes) > 1 {
n, _, err := node.Retrieve(*cc, nodeName)
if err != nil {
exit.WithError("retrieving node", err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment