Fix
parent
27e8a74c22
commit
76c0a94125
|
|
@ -1901,7 +1901,7 @@ class KubernetesStorage {
|
|||
return;
|
||||
}
|
||||
const pvcList = (yield kubeClient.listNamespacedPersistentVolumeClaim(namespace)).body.items.map((x) => { var _a; return (_a = x.metadata) === null || _a === void 0 ? void 0 : _a.name; });
|
||||
if (!pvcList.includes(pvcName)) {
|
||||
if (pvcList.includes(pvcName)) {
|
||||
core.setOutput('volume', pvcName);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -29,7 +29,7 @@ class KubernetesStorage {
|
|||
const pvcList = (await kubeClient.listNamespacedPersistentVolumeClaim(namespace)).body.items.map(
|
||||
(x) => x.metadata?.name,
|
||||
);
|
||||
if (!pvcList.includes(pvcName)) {
|
||||
if (pvcList.includes(pvcName)) {
|
||||
core.setOutput('volume', pvcName);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue