mirror of
https://github.com/pgsty/minio.git
synced 2026-11-02 22:02:06 +03:00
test: satisfy lint for lifecycle migration follow-up
Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
@@ -211,7 +211,7 @@ func testReplicateILMExpiryDeleteMarker(obj ObjectLayer, instanceType, bucket st
|
||||
// composite ReplicationStatus field is unreliable on read-back for
|
||||
// markers carrying a replication timestamp, so assert the raw state.
|
||||
moi, merr = obj.GetObjectInfo(ctx, bucket, name, ObjectOptions{VersionID: markerVID})
|
||||
if !isErrMethodNotAllowed(merr) || !strings.Contains(string(moi.ReplicationStatusInternal), "=COMPLETED;") {
|
||||
if !isErrMethodNotAllowed(merr) || !strings.Contains(moi.ReplicationStatusInternal, "=COMPLETED;") {
|
||||
t.Fatalf("%s: source marker state = %q (err %v), want COMPLETED", instanceType, moi.ReplicationStatusInternal, merr)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user