Skip to content

Commit

Permalink
fix(provider/kubernetes): use location over namespace in op (#2082)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwander authored Nov 4, 2017
1 parent dcbc669 commit 0a6964f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
@Data
public class KubernetesManifestOperationDescription extends KubernetesAtomicOperationDescription {
private String name;
private String namespace;
private String location;

@JsonIgnore
public KubernetesCoordinates getCoordinates() {
Pair<KubernetesKind, String> parsedName = KubernetesManifest.fromFullResourceName(name);

return KubernetesCoordinates.builder()
.namespace(name)
.namespace(location)
.kind(parsedName.getLeft())
.name(parsedName.getRight())
.build();
Expand Down

0 comments on commit 0a6964f

Please sign in to comment.