Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for added (0.13 sec)

  1. cmd/site-replication_test.go

    				{Endpoint: "minio3:9000", Name: "minio3", DeploymentID: "dep3"},
    			},
    			set.CreateStringSet("dep1", "dep2", "dep3"),
    			set.CreateStringSet("dep1"),
    			[]string{"minio2", "minio3"},
    		},
    		// Test2: new site added that is not in replicated setup
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    		// this is added to avoid panic during io.ReadAll(req.Body).
    		// th stack trace can be found here  https://github.com/minio/minio/pull/2074 .
    		// This is very similar to https://github.com/golang/go/issues/7527.
    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)
  3. cmd/iam-store.go

    	//
    	// 1. Remove the group from each user's list of memberships.
    	// 2. Add the group to each member's list of memberships.
    	//
    	// This ensures that regardless of members being added or
    	// removed, the cache stays current.
    	cache.removeGroupFromMembershipsMap(group)
    	cache.updateGroupMembershipsMap(group, &gi)
    	cache.updatedAt = time.Now()
    	return nil
    }
    
    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)
  4. internal/event/targetlist_test.go

    	}
    
    	return nil
    }
    
    func (target ExampleTarget) IsActive() (bool, error) {
    	return false, errors.New("not connected to target server/service")
    }
    
    // FlushQueueStore - No-Op. Added for interface compatibility
    func (target ExampleTarget) FlushQueueStore() error {
    	return nil
    }
    
    func TestTargetListAdd(t *testing.T) {
    	targetListCase1 := NewTargetList(context.Background())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    				}
    			}
    		}
    	}
    
    	if apiErr.Code == "InternalError" {
    		// Make sure to log the errors which we cannot translate
    		// to a meaningful S3 API errors. This is added to aid in
    		// debugging unexpected/unhandled errors.
    		internalLogIf(ctx, err)
    	}
    
    	return apiErr
    }
    
    // getAPIError provides API Error for input API error code.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. tests/named_polymorphic_test.go

    		Name: "treadmill 2",
    	})
    
    	if DB.Model(&hamster).Association("PreferredToy").Count() != 1 {
    		t.Errorf("Hamster's toys should be added with Append")
    	}
    
    	if DB.Model(&hamster).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's toys should be added with Append")
    	}
    
    	DB.Model(&hamster).Association("PreferredToy").Clear()
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 0 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Viewed (0)
  7. istioctl/pkg/clioptions/doc.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // Package clioptions contains flags which can be added to istioctl commands.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 683 bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    			// it will fail anyways, however if there is quorum available
    			// with enough disks online but sufficiently inconsistent to
    			// break parity threshold, allow them to be overwritten
    			// or allow new versions to be added.
    
    			return pinfo, z.poolsWithObject(poolObjInfos, opts), nil
    		}
    		defPool = pinfo
    		if !isErrObjectNotFound(pinfo.Err) {
    			return pinfo, noReadQuorumPools, pinfo.Err
    		}
    
    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)
  9. internal/crypto/metadata.go

    	// MetaContext will not be present.
    	// MetaContext only contains the bucket/object name if the client explicitly
    	// added it. However, when decrypting an object the bucket/object name must
    	// be part of the object. Therefore, the bucket/object name must be added
    	// to the context, if not present, whenever a decryption is performed.
    	MetaContext = "X-Minio-Internal-Server-Side-Encryption-Context"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    		})
    		return
    	})
    	return mg
    }
    
    // getHistogramMetrics fetches histogram metrics and returns it in a []Metric
    // Note: Typically used in MetricGroup.RegisterRead
    //
    // The last parameter is added for compatibility - if true it lowercases the
    // `api` label values.
    func getHistogramMetrics(hist *prometheus.HistogramVec, desc MetricDescription, toLowerAPILabels bool) []MetricV2 {
    	ch := make(chan prometheus.Metric)
    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)
Back to top