Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,061 for error (0.22 sec)

  1. internal/event/target/postgresql.go

    func (target *PostgreSQLTarget) Close() error {
    	close(target.quitCh)
    	if target.updateStmt != nil {
    		// FIXME: log returned error. ignore time being.
    		_ = target.updateStmt.Close()
    	}
    
    	if target.deleteStmt != nil {
    		// FIXME: log returned error. ignore time being.
    		_ = target.deleteStmt.Close()
    	}
    
    	if target.insertStmt != nil {
    		// FIXME: log returned error. ignore time being.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    		// printed once.
    		if once {
    			return
    		}
    		// once not set, check if same error occurred 3 times in
    		// a row, then make sure we print it to call attention.
    		if m[err.Error()] > 2 {
    			peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err))
    			// Reduce the count to introduce further delay in printing
    			// but let it again print after the 2th attempt
    			m[err.Error()]--
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server.go

    	ConstructInitialSnapshot(ambientPods []*corev1.Pod) error
    	Start(ctx context.Context)
    
    	//	IsPodInMesh(ctx context.Context, pod *metav1.ObjectMeta, netNs string) (bool, error)
    	AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error
    	RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error
    	DelPodFromMesh(ctx context.Context, pod *corev1.Pod) error
    
    	Stop()
    }
    
    type Server struct {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. internal/rest/client.go

    	online
    	closed
    )
    
    // NetworkError - error type in case of errors related to http/transport
    // for ex. connection refused, connection reset, dns resolution failure etc.
    // All errors returned by storage-rest-server (ex errFileNotFound, errDiskNotFound) are not considered to be network errors.
    type NetworkError struct {
    	Err error
    }
    
    func (n *NetworkError) Error() string {
    	return n.Err.Error()
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  5. istioctl/pkg/metrics/metrics.go

    	}
    	sm.p99Latency = p99Latency
    
    	if me.ErrorOrNil() != nil {
    		return sm, fmt.Errorf("error retrieving some metrics: %v", me.Error())
    	}
    
    	return sm, nil
    }
    
    func getLatency(promAPI promv1.API, workloadName, workloadNamespace string, duration time.Duration, quantile float64) (time.Duration, error) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/net_test.go

    			switch {
    			case testCase.expectedErr == nil:
    				if err != nil {
    					t.Errorf("error: expected = <nil>, got = %v", err)
    				}
    			case err == nil:
    				t.Errorf("error: expected = %v, got = <nil>", testCase.expectedErr)
    			case testCase.expectedErr.Error() != err.Error():
    				t.Errorf("error: expected = %v, got = %v", testCase.expectedErr, err)
    			}
    		})
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net.go

    	if err := s.netnsRunner(openNetns, func() error { return s.iptablesConfigurator.DeleteInpodRules() }); err != nil {
    		log.Errorf("failed to delete inpod rules %v", err)
    		return fmt.Errorf("failed to delete inpod rules %w", err)
    	}
    
    	if err := removePodFromHostNSIpset(pod, &s.hostsideProbeIPSet); err != nil {
    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  8. cmd/storage-rest-server.go

    	done(nil)
    	vresp := &VerifyFileResp{}
    	if err != nil {
    		vresp.Err = StorageErr(err.Error())
    	}
    	encoder.Encode(vresp)
    }
    
    func checkDiskFatalErrs(errs []error) error {
    	// This returns a common error if all errors are
    	// same errors, then there is no point starting
    	// the server.
    	if countErrs(errs, errUnsupportedDisk) == len(errs) {
    		return errUnsupportedDisk
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/handling-errors.md

    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError` или `ValidationError`
    
    !!! warning "Внимание"
        Это технические детали, которые можно пропустить, если они не важны для вас сейчас.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  10. internal/store/store.go

    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    type Store[I any] interface {
    	Put(item I) error
    	PutMultiple(item []I) error
    	Get(key string) (I, error)
    	GetRaw(key string) ([]byte, error)
    	Len() int
    	List() ([]string, error)
    	Del(key string) error
    	DelList(key []string) error
    	Open() error
    	Delete() error
    	Extension() string
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top