mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-27 14:37:17 +00:00
Refactor Openshift detection
This commit is contained in:
@@ -53,7 +53,7 @@ func TestMain(m *testing.M) {
|
||||
// Perform rolling upgrade on deploymentConfig and create env var upon updating the configmap
|
||||
func TestControllerUpdatingConfigmapShouldCreateEnvInDeploymentConfig(t *testing.T) {
|
||||
// Don't run test on non-openshift environment
|
||||
if !clients.IsOpenshift {
|
||||
if !kube.IsOpenshift {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user