Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sameTarget (0.17 sec)

  1. internal/bucket/replication/replication.go

    				Status: Disabled,
    			}
    		}
    	}
    	return &config, nil
    }
    
    // Validate - validates the replication configuration
    func (c Config) Validate(bucket string, sameTarget bool) error {
    	// replication config can't have more than 1000 rules
    	if len(c.Rules) > 1000 {
    		return errReplicationTooManyRules
    	}
    	// replication config should have at least one rule
    	if len(c.Rules) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top