Skip to content

Commit fcbb1ba

Browse files
meysholdtroboquat
authored andcommitted
Make error message more detailed
1 parent 030c183 commit fcbb1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.werft/util/kubectl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ export async function waitUntilAllPodsAreReady(namespace: string, kubeconfig: st
394394

395395
await sleep(3 * 1000);
396396
}
397-
exec(`kubectl --kubeconfig ${kubeconfig} get pods -n ${namespace}`, { ...shellOpts, async: false });
397+
exec(`kubectl --kubeconfig ${kubeconfig} describe pods -n ${namespace}`, { ...shellOpts, async: false });
398398
throw new Error(
399399
`Not all pods in namespace ${namespace} transitioned to 'Running' or 'Succeeded/Completed' during the expected time.`,
400400
);

0 commit comments

Comments
 (0)