Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for delErr (0.07 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    		return err
    	}
    
    	log.Debugf("sending delete pod to ztunnel: %s %v", uid, r)
    
    	var delErr []error
    
    	z.conns.mu.Lock()
    	defer z.conns.mu.Unlock()
    	for conn := range z.conns.connectionSet {
    		_, err := conn.send(ctx, data, nil)
    		if err != nil {
    			delErr = append(delErr, err)
    		}
    	}
    	return errors.Join(delErr...)
    }
    
    func podToWorkload(pod *v1.Pod) *zdsapi.WorkloadInfo {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    				if entityKeysInStorage.Contains(origKeys[i]) {
    					// Ignore any deletion error.
    					_, delErr := sys.PolicyDBSet(ctx, origKeys[i], "", stsUser, isGroup)
    					if delErr != nil {
    						logErr := fmt.Errorf("failed to delete extraneous LDAP DN mapping for `%s`: %w", origKeys[i], delErr)
    						iamLogIf(ctx, logErr)
    					}
    				}
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    					// clean import.
    					err := globalIAMSys.DeleteServiceAccount(ctx, svcAcctReq.AccessKey, true)
    					if err != nil {
    						delErr := fmt.Errorf("failed to delete existing service account (%s) before importing it: %w", svcAcctReq.AccessKey, err)
    						writeErrorResponseJSON(ctx, w, importError(ctx, delErr, allSvcAcctsFile, user), r.URL)
    						return
    					}
    				}
    				opts := newServiceAccountOpts{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_linux.go

    	}
    
    	var delErrs []error
    
    	for _, entry := range res.Entries {
    		if entry.IP.Equal(delIP) {
    			err := netlink.IpsetDel(name, &entry)
    			if err != nil {
    				delErrs = append(delErrs, fmt.Errorf("failed to delete IP %s from ipset %s: %w", entry.IP, name, err))
    			}
    		}
    	}
    
    	return errors.Join(delErrs...)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. internal/config/certs.go

    		password := env.Get(EnvCertPassword, "")
    		if len(password) == 0 {
    			return tls.Certificate{}, ErrTLSNoPassword(nil)
    		}
    		decryptedKey, decErr := x509.DecryptPEMBlock(key, []byte(password))
    		if decErr != nil {
    			return tls.Certificate{}, ErrTLSWrongPassword(decErr)
    		}
    		keyPEMBlock = pem.EncodeToMemory(&pem.Block{Type: key.Type, Bytes: decryptedKey})
    	}
    	cert, err := tls.X509KeyPair(certPEMBlock, keyPEMBlock)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	}
    
    	var delErrs []error
    
    	iptablesVariant := []dep.IptablesVersion{}
    	iptablesVariant = append(iptablesVariant, cfg.iptV)
    
    	if cfg.cfg.EnableIPv6 {
    		iptablesVariant = append(iptablesVariant, cfg.ipt6V)
    	}
    
    	for _, iptVer := range iptablesVariant {
    		for _, cmd := range deleteCmds {
    			delErrs = append(delErrs, cfg.ext.Run(iptablesconstants.IPTables, &iptVer, nil, cmd...))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    			ObjectName: "dir/obj1",
    			VersionID:  mustGetUUID(), // add a non-existent UUID.
    		},
    	})
    
    	_, delErrs := obj.DeleteObjects(ctx, bucketName, names, ObjectOptions{
    		Versioned: true,
    	})
    	for i := range delErrs {
    		if delErrs[i] != nil {
    			t.Errorf("Failed to remove object `%v` with the error: `%v`", names[i], delErrs[i])
    		}
    	}
    
    	for i, test := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    		if len(bufs) > 0 {
    			// Set only if there are be enough data for reconstruction.
    			// and only for expected errors, also set once.
    			if errors.Is(err, errFileNotFound) || errors.Is(err, errFileCorrupt) {
    				if derr == nil {
    					derr = err
    				}
    			}
    		} else if err != nil {
    			// For all errors that cannot be reconstructed fail the read operation.
    			return -1, err
    		}
    
    		if err = e.DecodeDataBlocks(bufs); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/tier.go

    	}
    
    	cfg := NewTierConfigMgr()
    	switch version := binary.LittleEndian.Uint16(data[2:4]); version {
    	case tierConfigV1, tierConfigVersion:
    		if _, decErr := cfg.UnmarshalMsg(data[4:]); decErr != nil {
    			return nil, decErr
    		}
    	default:
    		return nil, fmt.Errorf("tierConfigInit: unknown version: %d", version)
    	}
    
    	return cfg, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. cmd/peer-s3-server.go

    				return errDiskNotFound
    			}
    			volInfo, err := localDrives[index].StatVol(ctx, bucket)
    			if err != nil {
    				if opts.Deleted {
    					dvi, derr := localDrives[index].StatVol(ctx, pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, bucket))
    					if derr != nil {
    						return err
    					}
    					bucketsInfo[index] = BucketInfo{Name: bucket, Deleted: dvi.Created}
    					return nil
    				}
    				return err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top