Skip to content

Commit

Permalink
Remove Repository Server condition check from ServerReady to Ready (#…
Browse files Browse the repository at this point in the history
…2184)

Signed-off-by: Rajat Gupta <rajat.gupta@veeam.com>
  • Loading branch information
r4rajat authored Jul 18, 2023
1 parent eca32cc commit 27b3004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kanctl/actionset.go
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ func verifyRepositoryServerParams(repoServer *crv1alpha1.ObjectReference, crCli
}
return errors.New("error while fetching repo server")
}
if rs.Status.Progress != "ServerReady" {
if rs.Status.Progress != crv1alpha1.Ready {
err = errors.New("Repository Server Not Ready")
return errors.Wrapf(err, "Please make sure that Repository Server CR '%s' is in Ready State", repoServer.Name)
}
Expand Down

0 comments on commit 27b3004

Please sign in to comment.