[ Agent ] [ App ] - fix middlewares bugs

This commit is contained in:
zeaslity
2023-11-22 11:31:56 +08:00
parent a1dc545080
commit 95a2da2059

View File

@@ -145,10 +145,10 @@ func K8sCheckPVCStatusTimeOut(specificPvcName string, supreme string, waitTimeOu
}
if pvc.Status.Phase == corev1.ClaimBound {
log.DebugF("K8sCheckPVCStatusTimeOut] - PVC %s in namespace %s is running", specificPvcName, supreme)
log.DebugF("[K8sCheckPVCStatusTimeOut] - PVC %s in namespace %s is running", specificPvcName, supreme)
return true
} else {
log.WarnF("K8sCheckPVCStatusTimeOut] - PVC %s in namespace %s run failed !", specificPvcName, supreme)
log.WarnF("[K8sCheckPVCStatusTimeOut] - PVC %s in namespace %s run failed !", specificPvcName, supreme)
return false
}
}