diff --git a/job/replication/transfer.go b/job/replication/transfer.go index 7226883a4..82d986cad 100644 --- a/job/replication/transfer.go +++ b/job/replication/transfer.go @@ -256,7 +256,7 @@ func (c *Checker) projectExist() (exist, canWrite bool, err error) { return } - if resp.StatusCode == http.StatusUnauthorized { + if resp.StatusCode == http.StatusForbidden { exist = true return }