Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ignore (9.06 sec)

  1. cmd/iam.go

    			continue
    		}
    		// If user is set to "disabled", we will remove them
    		// subsequently.
    		if !u.Enabled {
    			expiredUsers = append(expiredUsers, parentUser)
    		}
    	}
    
    	// We ignore any errors
    	_ = sys.store.DeleteUsers(ctx, expiredUsers)
    }
    
    // purgeExpiredCredentialsForLDAP - validates if local credentials are still
    // valid by checking LDAP server if the relevant users are still present.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/erasure-server-pool.go

    			z.DeleteBucket(context.Background(), bucket, DeleteBucketOptions{
    				NoLock:     true,
    				NoRecreate: true,
    			})
    		}
    		return err
    	}
    
    	// If it doesn't exist we get a new, so ignore errors
    	meta := newBucketMetadata(bucket)
    	meta.SetCreatedAt(opts.CreatedAt)
    	if opts.LockEnabled {
    		meta.VersioningConfigXML = enabledBucketVersioningConfig
    		meta.ObjectLockConfigXML = enabledBucketObjectLockConfig
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		}
    		rw.Unlock()
    		if err == nil && fi.InlineData() {
    			break
    		}
    	}
    
    	if err != nil {
    		// We can only look for dangling if we received all the responses, if we did
    		// not we simply ignore it, since we can't tell for sure if its dangling object.
    		if totalResp == er.setDriveCount && shouldCheckForDangling(err, errs, bucket) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidFileHeaderInfo: {
    		Code:           "InvalidFileHeaderInfo",
    		Description:    "The FileHeaderInfo is invalid. Only NONE, USE, and IGNORE are supported.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidJSONType: {
    		Code:           "InvalidJsonType",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  5. cmd/iam-store.go

    				}
    			}
    		}
    	}
    
    	// It is ok to ignore deletion error on the mapped policy
    	store.deleteMappedPolicy(ctx, accessKey, userType, false)
    	cache.iamUserPolicyMap.Delete(accessKey)
    
    	err := store.deleteUserIdentity(ctx, accessKey, userType)
    	if err == errNoSuchUser {
    		// ignore if user is already deleted.
    		err = nil
    	}
    	delete(cache.iamUsersMap, accessKey)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  6. cmd/sts-handlers_test.go

    		if err != nil {
    			c.Fatalf("Unable to create svc acc: %v", err)
    		}
    		svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    		// Though the attached policy does not allow listing, it will be
    		// ignored because the plugin allows it.
    		c.mustListObjects(ctx, svcClient, bucket)
    	}
    
    	// 4. Check that service account's secret key and account status can be
    	// updated.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		return err
    	}
    
    	for _, fi := range fis {
    		dataDir, err := xlMeta.DeleteVersion(fi)
    		if err != nil {
    			if !fi.Deleted && (err == errFileNotFound || err == errFileVersionNotFound) {
    				// Ignore these since they do not exist
    				continue
    			}
    			return err
    		}
    		if dataDir != "" {
    			versionID := fi.VersionID
    			if versionID == "" {
    				versionID = nullVersionID
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    // Headers to ignore in streaming v4
    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    // calculateSignedChunkLength - calculates the length of chunk metadata
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    		if cancel {
    			canceler()
    		}
    	}
    	delete(j.jobCancelers, jobID)
    	return nil
    }
    
    //msgp:ignore batchJobMetrics
    type batchJobMetrics struct {
    	sync.RWMutex
    	metrics map[string]*batchJobInfo
    }
    
    //msgp:ignore batchJobMetric
    //go:generate stringer -type=batchJobMetric -trimprefix=batchJobMetric $GOFILE
    type batchJobMetric uint8
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    	data = buf
    	if data.validate() != nil {
    		data.repair()
    	}
    
    	return meta, data, nil
    }
    
    type xlMetaV2ShallowVersion struct {
    	header xlMetaV2VersionHeader
    	meta   []byte
    }
    
    //msgp:ignore xlMetaV2 xlMetaV2ShallowVersion
    
    type xlMetaV2 struct {
    	versions []xlMetaV2ShallowVersion
    
    	// data will contain raw data if any.
    	// data will be one or more versions indexed by versionID.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top