Skip to content

Commit

Permalink
refactor(provider/kubernetes): use deployed names in result
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Wander committed Oct 12, 2017
1 parent 3dd1571 commit e92348c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public DeploymentResult deployAugmentedManifest(KubernetesV2Credentials credenti
deploy(credentials, resource);

DeploymentResult result = new DeploymentResult();
result.setServerGroupNames(new ArrayList<>(Collections.singleton(manifest.getNamespace() + ":" + manifest.getFullResourceName())));
result.setServerGroupNameByRegion(new HashMap<>(Collections.singletonMap(manifest.getNamespace(), manifest.getFullResourceName())));
result.setDeployedNames(new ArrayList<>(Collections.singleton(manifest.getNamespace() + ":" + manifest.getFullResourceName())));
result.setDeployedNamesByLocation(new HashMap<>(Collections.singletonMap(manifest.getNamespace(), Collections.singletonList(manifest.getFullResourceName()))));

return result;
}
Expand Down

0 comments on commit e92348c

Please sign in to comment.