Fix: typo

pull/273/head
Frostebite 2021-06-18 20:56:13 +01:00
parent 08db6c5022
commit 82f86eebc5
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1700,7 +1700,7 @@ class KubernetesStorage {
}; };
yield kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc); yield kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc);
core.info(`Persistent Volume created, ${yield KubernetesStorage.getPVCPhase(kubeClient, pvcName, namespace)}`); core.info(`Persistent Volume created, ${yield KubernetesStorage.getPVCPhase(kubeClient, pvcName, namespace)}`);
yield this.watchPersistentVolumeClaimUntilBoundToContainer(kubeClient, pvcName, pvcName); yield this.watchPersistentVolumeClaimUntilBoundToContainer(kubeClient, pvcName, namespace);
core.info(JSON.stringify((yield kubeClient.readNamespacedPersistentVolumeClaimStatus(pvcName, namespace)).body, undefined, 4)); core.info(JSON.stringify((yield kubeClient.readNamespacedPersistentVolumeClaimStatus(pvcName, namespace)).body, undefined, 4));
}); });
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -33,7 +33,7 @@ class KubernetesStorage {
}; };
await kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc); await kubeClient.createNamespacedPersistentVolumeClaim(namespace, pvc);
core.info(`Persistent Volume created, ${await KubernetesStorage.getPVCPhase(kubeClient, pvcName, namespace)}`); core.info(`Persistent Volume created, ${await KubernetesStorage.getPVCPhase(kubeClient, pvcName, namespace)}`);
await this.watchPersistentVolumeClaimUntilBoundToContainer(kubeClient, pvcName, pvcName); await this.watchPersistentVolumeClaimUntilBoundToContainer(kubeClient, pvcName, namespace);
core.info( core.info(
JSON.stringify( JSON.stringify(
(await kubeClient.readNamespacedPersistentVolumeClaimStatus(pvcName, namespace)).body, (await kubeClient.readNamespacedPersistentVolumeClaimStatus(pvcName, namespace)).body,