Ran go fmt on project. Changed FechTaskConfig to only fetch configurations in an existing state
This commit is contained in:
parent
d810808b68
commit
bb3b26340d
3 changed files with 9 additions and 9 deletions
|
@ -43,8 +43,8 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
cluster, ok := clusters[*clusterName];
|
||||
if(!ok) {
|
||||
cluster, ok := clusters[*clusterName]
|
||||
if !ok {
|
||||
fmt.Printf("Cluster %s chosen doesn't exist\n", *clusterName)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue