Skip to content

Commit

Permalink
fix(provider/kubernetes): Use sanitized namespace in enable/disable. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jtk54 committed May 11, 2017
1 parent 1b8be79 commit 057a751
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ abstract class AbstractEnableDisableKubernetesAtomicOperation implements AtomicO
if (!replicationController && !replicaSet )
throw new KubernetesOperationException("No replication controller or replica set $description.serverGroupName in $namespace.")

KubernetesServerGroup serverGroup = clusterProviders.getServerGroup(description.account, description.namespace, description.serverGroupName)
KubernetesServerGroup serverGroup = clusterProviders.getServerGroup(description.account, namespace, description.serverGroupName)
serverGroup.instances.forEach( { instance -> pods.add(instance.getPod())})

if (!pods) {
Expand Down

0 comments on commit 057a751

Please sign in to comment.