Skip to content

Commit 7c9cc84

Browse files
oktalzmjuraga
authored andcommitted
BUG/MEDIUM: cluster: do not ignore error
If an error occurs, the runtime may not be used and hence we must exit.
1 parent 2a1964c commit 7c9cc84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configuration/cluster_sync_helpers.go

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ func (c *ClusterSync) getNodeFacts() map[string]string {
3232
runtime, err := c.cli.Runtime()
3333
if err != nil {
3434
log.Errorf("unable to fetch processInfo: %s", err.Error())
35+
return facts
3536
}
3637
processInfos, err := runtime.GetInfo()
3738
if err != nil || len(processInfos) < 1 {

0 commit comments

Comments
 (0)