Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 220 for Change (0.14 sec)

  1. cmd/site-replication.go

    			secretKey:     change.Create.SecretKey,
    			sessionPolicy: sp,
    			claims:        change.Create.Claims,
    			name:          change.Create.Name,
    			description:   change.Create.Description,
    			expiration:    change.Create.Expiration,
    		}
    		_, _, err = globalIAMSys.NewServiceAccount(ctx, change.Create.Parent, change.Create.Groups, opts)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    
    	case change.Update != nil:
    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)
  2. tests/hooks_test.go

    	}
    
    	// Code not changed, price should not change
    	DB.Model(&product).Updates(map[string]interface{}{"Name": "Product New"})
    
    	if product.Name != "Product New" || product.Price != 160 || product.Code != "L1212" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	// Code changed, but not selected, price should not change
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/wrapper.go

    	typ, err := r.Types.FindMessageByURL(url)
    	if err != nil {
    		// Here we ignore the error since we want istioctl to ignore unknown types due to the Envoy version change
    		msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. internal/http/dial_dnscache.go

    //
    // You can use returned dial function for `http.Transport.DialContext`.
    //
    // In this function, it uses functions from `rand` package. To make it really random,
    // you MUST call `rand.Seed` and change the value from the default in your application
    func DialContextWithLookupHost(lookupHost LookupHost, baseDialCtx DialContext) DialContext {
    	if lookupHost == nil {
    		lookupHost = net.DefaultResolver.LookupHost
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 19:30:51 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-diff_test.go

    			expectedString: "+    profile: openshift",
    			// The profile doesn't change istiocoredns, so we shouldn't see this in the diff
    			notExpected: "-    istiocoredns:",
    			// 'profile diff' "fails" so that the error level `$?` is 1, not 0, if there is a diff
    			shouldFail: false,
    		},
    	}
    
    	l := clog.NewConsoleLogger(os.Stdout, os.Stderr, nil)
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  6. internal/config/api/help.go

    		},
    		config.HelpKV{
    			Key:         apiStaleUploadsCleanupInterval,
    			Description: `set to change intervals when stale multipart uploads are expired` + defaultHelpPostfix(apiStaleUploadsCleanupInterval),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiDeleteCleanupInterval,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    // governance bypass headers are set and user has governance bypass permissions.
    // Objects in compliance mode can be overwritten only if retention date is being extended. No mode change is permitted.
    func enforceRetentionBypassForPut(ctx context.Context, r *http.Request, oi ObjectInfo, objRetention *objectlock.ObjectRetention, cred auth.Credentials, owner bool) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  8. docs/debugging/inspect/export.go

    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    	// will allow to detect the exact version later.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  9. internal/grid/msg.go

    	FlagPayloadIsZero
    
    	// FlagSubroute indicates that the message has subroute.
    	// Subroute will be 32 bytes long and added before any CRC.
    	FlagSubroute
    )
    
    // This struct cannot be changed and retain backwards compatibility.
    // If changed, endpoint version must be bumped.
    //
    //msgp:tuple message
    type message struct {
    	MuxID      uint64    // Mux to receive message if any.
    	Seq        uint32    // Sequence number.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. tests/upsert_test.go

    	DB.Where(&User{Name: "find or create 3"}).Assign("age", 55).FirstOrCreate(&user4)
    
    	if user4.Age != 55 {
    		t.Errorf("Failed to set change to 55, got %v", user4.Age)
    	}
    
    	if updatedAt1.Format(time.RFC3339Nano) == user4.UpdatedAt.Format(time.RFC3339Nano) {
    		t.Errorf("UpdateAt should be changed when update values with assign")
    	}
    
    	DB.Where(&User{Name: "find or create 4"}).Assign(User{Age: 44}).FirstOrCreate(&user4)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
Back to top