Make data mover fail early

Signed-off-by: Ming <mqiu@vmware.com>
This commit is contained in:
Ming
2023-11-02 11:05:39 +00:00
committed by Ming Qiu
parent 6ac7ff1230
commit 03dff100a3
8 changed files with 170 additions and 40 deletions

View File

@@ -106,3 +106,8 @@ func (b *PodBuilder) Phase(phase corev1api.PodPhase) *PodBuilder {
b.object.Status.Phase = phase
return b
}
func (b *PodBuilder) Status(status corev1api.PodStatus) *PodBuilder {
b.object.Status = status
return b
}