doc: ensure_mirror_repo docstring — 409 only, not 409/422 (match the fix)
This commit is contained in:
parent
64e51fe3bf
commit
af7ec98542
1 changed files with 2 additions and 2 deletions
|
|
@ -959,8 +959,8 @@ async fn ensure_mirrors(admin_token: &str) {
|
|||
|
||||
/// Create `owner/repo` as a pull-mirror of `upstream` via the migrate API.
|
||||
/// Idempotent: a cheap existence check skips an already-seeded mirror (it
|
||||
/// persists in the non-ephemeral forge state across reboots), and a
|
||||
/// 409/422 from migrate is also treated as success.
|
||||
/// persists in the non-ephemeral forge state across reboots); a 409 (a race
|
||||
/// between that check and the POST) is also treated as success.
|
||||
async fn ensure_mirror_repo(
|
||||
upstream: &str,
|
||||
owner: &str,
|
||||
|
|
|
|||
Loading…
Reference in a new issue