We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f24f921 commit bf363cdCopy full SHA for bf363cd
src/commands/network.ts
@@ -852,8 +852,8 @@ export class NetworkCommand extends BaseCommand {
852
853
if (svc && svc.length > 0 && svc[0].status?.loadBalancer?.ingress?.length > 0) {
854
let shouldContinue = false;
855
- for (let i = 0; i < svc.status.loadBalancer.ingress.length; i++) {
856
- const ingress = svc.status.loadBalancer.ingress[i];
+ for (let i = 0; i < svc[0].status.loadBalancer.ingress.length; i++) {
+ const ingress = svc[0].status.loadBalancer.ingress[i];
857
if (!ingress.hostname && !ingress.ip) {
858
shouldContinue = true; // try again if there is neither a hostname nor an ip
859
break;
0 commit comments