Skip to content

Commit

Permalink
fix(k8s/runJob): Allowing only v1 accounts for v1 runJob (#7258) (#7259)
Browse files Browse the repository at this point in the history
Using a v2 account would have com.netflix.spinnaker.clouddriver.kubernetes.v2.op.job.KubernetesRunJobOperation be called and throw an NPE at line 70, because there's no manifest.
  • Loading branch information
spinnakerbot authored and maggieneterval committed Jul 24, 2019
1 parent 0d16ed9 commit cf39ee3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = angular
this.namespaces = namespaces;
});

AccountService.listAccounts('kubernetes').then(accounts => {
AccountService.listAccounts('kubernetes', 'v1').then(accounts => {
this.accounts = accounts;
});

Expand Down

0 comments on commit cf39ee3

Please sign in to comment.