Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for else (0.42 sec)

  1. cmd/data-usage-cache_gen.go

    			o = msgp.AppendNil(o)
    		} else {
    			o, err = z.ReplicationStats.MarshalMsg(o)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicationStats")
    				return
    			}
    		}
    	}
    	if (zb0001Mask & 0x100) == 0 { // if not omitted
    		// string "ats"
    		o = append(o, 0xa3, 0x61, 0x74, 0x73)
    		if z.AllTierStats == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			o, err = z.AllTierStats.MarshalMsg(o)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    				} // overlay tags from peer site.
    				ot = tags
    				w.Header()[xhttp.MinIOTaggingProxied] = []string{"true"} // indicate that the request was proxied.
    			} else {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		} else {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/server_test.go

    // and If-Unmodified-Since headers set are validated.
    // If-Modified-Since - Return the object only if it has been modified since the specified time, else return a 304 (not modified).
    // If-Unmodified-Since - Return the object only if it has not been modified since the specified time, else return a 412 (precondition failed).
    func (s *TestSuiteCommon) TestHeadOnObjectLastModified(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    				if !ok {
    					clusterObjectSizesHistogram[k] = v
    				} else {
    					v1 += v
    					clusterObjectSizesHistogram[k] = v1
    				}
    			}
    			for k, v := range usage.ObjectVersionsHistogram {
    				v1, ok := clusterVersionsHistogram[k]
    				if !ok {
    					clusterVersionsHistogram[k] = v
    				} else {
    					v1 += v
    					clusterVersionsHistogram[k] = v1
    				}
    			}
    		}
    
    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)
  5. cmd/bucket-replication.go

    			globalBucketTargetSys.markOffline(tgt.EndpointURL())
    		}
    	} else {
    		if dobj.VersionID == "" {
    			rinfo.ReplicationStatus = replication.Completed
    		} else {
    			rinfo.VersionPurgeStatus = Complete
    		}
    	}
    	return
    }
    
    func getCopyObjMetadata(oi ObjectInfo, sc string) map[string]string {
    	meta := make(map[string]string, len(oi.UserDefined))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/storage-datatypes_gen.go

    	}
    	if z.Data == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Data)
    	}
    	o = msgp.AppendInt(o, z.NumVersions)
    	o = msgp.AppendTime(o, z.SuccessorModTime)
    	o = msgp.AppendBool(o, z.Fresh)
    	o = msgp.AppendInt(o, z.Idx)
    	if z.Checksum == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Checksum)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    				iamLogIf(ctx, err)
    			} else if foundGroupDN == "" || !underBaseDN {
    				err = errNoSuchGroup
    			}
    			entityName = foundGroupDN
    		} else {
    			var foundUserDN string
    			if foundUserDN, err = globalIAMSys.LDAPConfig.GetValidatedDNForUsername(entityName); err != nil {
    				iamLogIf(ctx, err)
    			} else if foundUserDN == "" {
    				err = errNoSuchUser
    			}
    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)
  8. cmd/admin-handlers.go

    				Host:           local,
    				Err:            err.Error(),
    				CurrentVersion: Version,
    			}
    		} else {
    			peerResults[local] = madmin.ServerPeerUpdateStatus{
    				Host:           local,
    				CurrentVersion: Version,
    				UpdatedVersion: lrTime.Format(MinioReleaseTagTimeLayout),
    			}
    		}
    	} else {
    		peerResults[local] = madmin.ServerPeerUpdateStatus{
    			Host:           local,
    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)
  9. cmd/object-handlers_test.go

    		}
    		if testCase.copySourceRange != "" {
    			if testCase.copySourceRange == "empty" {
    				req.Header.Set("X-Amz-Copy-Source-Range", "") // specifically test for S3 errors in this scenario.
    			} else {
    				req.Header.Set("X-Amz-Copy-Source-Range", testCase.copySourceRange)
    			}
    		}
    
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top