diff --git a/cmd/erasure-server-pool-decom.go b/cmd/erasure-server-pool-decom.go index a7d5cc1e7..5e758d848 100644 --- a/cmd/erasure-server-pool-decom.go +++ b/cmd/erasure-server-pool-decom.go @@ -358,7 +358,7 @@ func (p *poolMeta) validate(pools []*erasureSets) (bool, error) { update = true } if ok && pi.completed { - return false, fmt.Errorf("pool(%s) = %s is decommissioned, please remove from server command line", humanize.Ordinal(pi.position+1), k) + logger.LogIf(GlobalContext, "decommission", fmt.Errorf("pool(%s) = %s is decommissioned, please remove from server command line", humanize.Ordinal(pi.position+1), k)) } } diff --git a/cmd/erasure-server-pool-decom_test.go b/cmd/erasure-server-pool-decom_test.go index ee438aeec..7e6d29c19 100644 --- a/cmd/erasure-server-pool-decom_test.go +++ b/cmd/erasure-server-pool-decom_test.go @@ -134,7 +134,7 @@ func TestPoolMetaValidate(t *testing.T) { meta: nmeta1, pools: pools, name: "Invalid-Completed-Pool-Not-Removed", - expectedErr: true, + expectedErr: false, expectedUpdate: false, }, {