Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hooks (0.13 sec)

  1. cmd/erasure-object.go

    		}
    		return fi, nil, nil, toObjectErr(err, bucket, object)
    	}
    
    	if !fi.Deleted && len(fi.Erasure.Distribution) != len(onlineDisks) {
    		err := fmt.Errorf("unexpected file distribution (%v) from online disks (%v), looks like backend disks have been manually modified refusing to heal %s/%s(%s)",
    			fi.Erasure.Distribution, onlineDisks, bucket, object, opts.VersionID)
    		storageLogOnceIf(ctx, err, "get-object-file-info-manually-modified")
    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)
  2. cmd/bucket-handlers.go

    	if err := objectAPI.MakeBucket(ctx, bucket, opts); err != nil {
    		if _, ok := err.(BucketExists); ok {
    			// Though bucket exists locally, we send the site-replication
    			// hook to ensure all sites have this bucket. If the hook
    			// succeeds, the client will still receive a bucket exists
    			// message.
    			globalSiteReplicationSys.MakeBucketHook(ctx, bucket, opts)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    
    	// Call hook for cluster-replication if the service account is not for a
    	// root user.
    	if newCred.ParentUser != globalActiveCred.AccessKey {
    		replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top