Skip to content

Commit

Permalink
Fix openshift version detection.
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
  • Loading branch information
AndrienkoAleksandr committed Dec 14, 2020
1 parent c92a042 commit 055cb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func DetectOpenShift() (isOpenshift bool, isOpenshift4 bool, anError error) {
}
}

return true, false, nil
return isOpenshift, isOpenshift4, nil
}

func getDiscoveryClient() (*discovery.DiscoveryClient, error) {
Expand Down

0 comments on commit 055cb0b

Please sign in to comment.