Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isEnabled (0.22 sec)

  1. cmd/site-replication.go

    	if err == nil {
    		return nil
    	}
    	return fmt.Errorf("%s->%s: %s: %w", c.state.Name, dstPeer, annotation, err)
    }
    
    // isEnabled returns true if site replication is enabled
    func (c *SiteReplicationSys) isEnabled() bool {
    	c.RLock()
    	defer c.RUnlock()
    	return c.enabled
    }
    
    var errMissingSRConfig = fmt.Errorf("unable to find site replication configuration")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/admin-handlers.go

    	if err = objectAPI.MakeBucket(ctx, bucketName, MakeBucketOptions{VersioningEnabled: globalSiteReplicationSys.isEnabled()}); err != nil {
    		if _, ok := err.(BucketExists); !ok {
    			// Only BucketExists error can be ignored.
    			return false, err
    		}
    		bucketExists = true
    	}
    
    	if globalSiteReplicationSys.isEnabled() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  3. cmd/metrics-v2.go

    				if globalAuthNPlugin == nil {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalSiteReplicationSys {
    				if !globalSiteReplicationSys.isEnabled() {
    					return []MetricV2{}, nil
    				}
    			}
    			if g.metricsGroupOpts.dependGlobalNotificationSys {
    				if globalNotificationSys == nil {
    					return []MetricV2{}, nil
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>4.0.0+</version>
              <code>
                <![CDATA[
        public boolean isEnabled() {
            return (getEnabled() != null) ? Boolean.parseBoolean(getEnabled()) : true;
        }
    
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
Back to top