Skip to content

Commit

Permalink
fix: do not enforce role value for replicationConfig (#1166)
Browse files Browse the repository at this point in the history
fixes #1164
  • Loading branch information
harshavardhana authored Nov 25, 2021
1 parent ff6af3e commit c1ab4af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions minio/replicationconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,6 @@ class ReplicationConfig:
"""Replication configuration."""

def __init__(self, role, rules):
if not role:
raise ValueError("role must be provided")
if not rules:
raise ValueError("rules must be provided")
if len(rules) > 1000:
Expand Down

0 comments on commit c1ab4af

Please sign in to comment.