Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 211 for perror (0.11 sec)

  1. pkg/controller/replicaset/replica_set_test.go

    	// control of the pods and requeue to try again.
    	fakePodControl.Err = fmt.Errorf("fake Error")
    	rsKey := GetKey(rs, t)
    	err := processSync(ctx, manager, rsKey)
    	if err == nil || !strings.Contains(err.Error(), "fake Error") {
    		t.Errorf("expected fake Error, got %+v", err)
    	}
    	// 2 patches to take control of pod1 and pod2 (both fail).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier.go

    	if err := proxier.serviceHealthServer.SyncServices(proxier.svcPortMap.HealthCheckNodePorts()); err != nil {
    		proxier.logger.Error(err, "Error syncing healthcheck services")
    	}
    	if err := proxier.serviceHealthServer.SyncEndpoints(proxier.endpointsMap.LocalReadyEndpoints()); err != nil {
    		proxier.logger.Error(err, "Error syncing healthcheck endpoints")
    	}
    
    	// Finish housekeeping, clear stale conntrack entries for UDP Services
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    }
    
    func TestArgumentErrorUnwrapping(t *testing.T) {
    	var err error = &ArgumentError{
    		Index: 1,
    		Err:   Error{Msg: "test"},
    	}
    	var e Error
    	if !errors.As(err, &e) {
    		t.Fatalf("error %v does not wrap types.Error", err)
    	}
    	if e.Msg != "test" {
    		t.Errorf("e.Msg = %q, want %q", e.Msg, "test")
    	}
    }
    
    func TestInstanceIdentity(t *testing.T) {
    	imports := make(testImporter)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes_gen.go

    )
    
    // MarshalMsg implements msgp.Marshaler
    func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendInt(o, int(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BackendType) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 int
    		zb0001, bts, err = msgp.ReadIntBytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    		Aliases: []string{"des"},
    		Short:   "Describe resource and related Istio configuration",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown resource type %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			describeNamespace = ctx.NamespaceOrDefault(ctx.Namespace())
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	}
    	if len(data) <= 4 {
    		return fmt.Errorf("%s: no data", ri.JobType)
    	}
    	// Read header
    	switch binary.LittleEndian.Uint16(data[0:2]) {
    	case format:
    	default:
    		return fmt.Errorf("%s: unknown format: %d", ri.JobType, binary.LittleEndian.Uint16(data[0:2]))
    	}
    	switch binary.LittleEndian.Uint16(data[2:4]) {
    	case version:
    	default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  7. src/time/time_test.go

    		var ignored Time
    		err := ignored.GobDecode(tt.bytes)
    		if err == nil || err.Error() != tt.want {
    			t.Errorf("time.GobDecode(%#v) error = %v, want %v", tt.bytes, err, tt.want)
    		}
    		err = ignored.UnmarshalBinary(tt.bytes)
    		if err == nil || err.Error() != tt.want {
    			t.Errorf("time.UnmarshalBinary(%#v) error = %v, want %v", tt.bytes, err, tt.want)
    		}
    	}
    }
    
    var notEncodableTimes = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  8. src/go/types/api_test.go

    }
    
    func TestArgumentErrorUnwrapping(t *testing.T) {
    	var err error = &ArgumentError{
    		Index: 1,
    		Err:   Error{Msg: "test"},
    	}
    	var e Error
    	if !errors.As(err, &e) {
    		t.Fatalf("error %v does not wrap types.Error", err)
    	}
    	if e.Msg != "test" {
    		t.Errorf("e.Msg = %q, want %q", e.Msg, "test")
    	}
    }
    
    func TestInstanceIdentity(t *testing.T) {
    	imports := make(testImporter)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    	var decodingStrictErrs []error
    	obj, gvk, err := d.delegate.Decode(data, defaults, into)
    	if err != nil {
    		decodeStrictErr, ok := runtime.AsStrictDecodingError(err)
    		if !ok || obj == nil {
    			return nil, gvk, err
    		}
    		decodingStrictErrs = decodeStrictErr.Errors()
    	}
    	var unknownFields []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework.go

    func (f *frameworkImpl) Close() error {
    	var errs []error
    	for name, plugin := range f.pluginsMap {
    		if closer, ok := plugin.(io.Closer); ok {
    			err := closer.Close()
    			if err != nil {
    				errs = append(errs, fmt.Errorf("%s failed to close: %w", name, err))
    				// We try to close all plugins even if we got errors from some.
    			}
    		}
    	}
    	return errors.Join(errs...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top