Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,367 for if (0.18 sec)

  1. cmd/admin-handlers-idp-ldap.go

    		opts.claims[ldapUserN] = targetUser // simple username
    		targetUser, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser)
    		if err != nil {
    			// if not found, check if DN
    			if strings.Contains(err.Error(), "User DN not found for:") {
    				if isDN {
    					// warn user that DNs are not allowed
    					writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminLDAPExpectedLoginName, err), r.URL)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. internal/s3select/sql/statement.go

    	if err != nil {
    		return
    	}
    
    	// Analyze main select expression
    	stmt.selectQProp = selectAST.Expression.analyze(&selectAST)
    	err = stmt.selectQProp.err
    	if err != nil {
    		err = errQueryAnalysisFailure(err)
    	}
    
    	// Set table alias
    	stmt.tableAlias = selectAST.From.As
    	// Remove quotes from column aliases
    	if selectAST.Expression != nil {
    		for _, exp := range selectAST.Expression.Expressions {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    			blockOffset = 0
    			blockLength = e.blockSize
    		}
    		if blockLength == 0 {
    			break
    		}
    
    		var err error
    		bufs, err = reader.Read(bufs)
    		if len(bufs) > 0 {
    			// Set only if there are be enough data for reconstruction.
    			// and only for expected errors, also set once.
    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    					derr = err
    				}
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    	outlierDetection *v1alpha3.OutlierDetection,
    ) string {
    	extra := make([]string, 0)
    	if lb != nil {
    		extra = append(extra, "load balancer")
    	}
    	if connectionPool != nil {
    		extra = append(extra, "connection pool")
    	}
    	if outlierDetection != nil {
    		extra = append(extra, "outlier detection")
    	}
    	if len(extra) > 0 {
    		return fmt.Sprintf("Policies: %s\n", strings.Join(extra, "/"))
    	}
    	return ""
    }
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    		if err != nil {
    			return err
    		}
    		// If we encounter a directory, recurse only if the --recursive option
    		// was provided and the directory is not the same as dir.
    		if info.IsDir() {
    			if !recursive && dir != path {
    				return filepath.SkipDir
    			}
    			return nil
    		}
    
    		if !isValidFile(path) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. internal/dsync/lock-args_gen.go

    	err = en.Append(0xa6, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Source)
    	if err != nil {
    		err = msgp.WrapError(err, "Source")
    		return
    	}
    	// write "Owner"
    	err = en.Append(0xa5, 0x4f, 0x77, 0x6e, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Owner)
    	if err != nil {
    		err = msgp.WrapError(err, "Owner")
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-site-replication.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	// Report the ILMExpiryStats only if at least one site has replication of ILM expiry enabled
    	var replicateILMExpiry bool
    	for _, site := range info.Sites {
    		if site.ReplicateILMExpiry {
    			replicateILMExpiry = true
    			break
    		}
    	}
    	if !replicateILMExpiry {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    	if err != nil {
    		log.Errorf("redirect failed due to bad params: %v", err)
    		return err
    	}
    
    	if err := rulesMgr.Program(podName, args.Netns, redirect); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    func setupLogging(conf *Config) {
    	if conf.LogUDSAddress != "" {
    		// reconfigure log output with tee to UDS if UDS log is enabled.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

        default String getHost(final String u) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            final String originalUrl = url;
    
            int idx = url.indexOf("://");
            if (idx >= 0) {
                url = url.substring(idx + 3);
            }
    
            idx = url.indexOf('/');
            if (idx >= 0) {
                url = url.substring(0, idx);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    }
    
    // Validates the preconditions. Returns true if GET/HEAD operation should not proceed.
    // Preconditions supported are:
    //
    //	If-Modified-Since
    //	If-Unmodified-Since
    //	If-Match
    //	If-None-Match
    func checkPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo, opts ObjectOptions) bool {
    	// Return false for methods other than GET and HEAD.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top