- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for errList (0.25 sec)
-
pkg/util/iptables/iptables_linux.go
lock14 *net.UnixListener } func (l *locker) Close() error { errList := []error{} if l.lock16 != nil { if err := l.lock16.Close(); err != nil { errList = append(errList, err) } } if l.lock14 != nil { if err := l.lock14.Close(); err != nil { errList = append(errList, err) } } return utilerrors.NewAggregate(errList) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go
kubeletRunDirectory += "/" } var errList []error mounts := strings.Split(string(raw), "\n") flagsInt := flagsToInt(flags) for _, mount := range mounts { m := strings.Split(mount, " ") if len(m) < 2 || !strings.HasPrefix(m[1], kubeletRunDirectory) { continue } klog.V(5).Infof("[reset] Unmounting %q", m[1]) if err := syscall.Unmount(m[1], flagsInt); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 10:58:44 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/registry/networking/ipaddress/strategy.go
newIPAddress := new.(*networking.IPAddress) oldIPAddress := old.(*networking.IPAddress) errList := validation.ValidateIPAddress(newIPAddress) errList = append(errList, validation.ValidateIPAddressUpdate(newIPAddress, oldIPAddress)...) return errList } // AllowUnconditionalUpdate is the default update policy for IPAddress objects. func (ipAddressStrategy) AllowUnconditionalUpdate() bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 22:58:11 UTC 2023 - 3.6K bytes - Viewed (0) -
pkg/util/procfs/procfs_linux.go
} pids := getPids(re) if len(pids) == 0 { return fmt.Errorf("unable to fetch pids for process name : %q", name) } errList := []error{} for _, pid := range pids { if err = syscall.Kill(pid, sig); err != nil { errList = append(errList, err) } } return utilerrors.NewAggregate(errList) } // PidOf finds process(es) with a specified name (regexp match) // and return their pid(s).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 09:22:35 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/registry/networking/servicecidr/strategy.go
newServiceCIDR := new.(*networking.ServiceCIDR) oldServiceCIDR := old.(*networking.ServiceCIDR) errList := validation.ValidateServiceCIDR(newServiceCIDR) errList = append(errList, validation.ValidateServiceCIDRUpdate(newServiceCIDR, oldServiceCIDR)...) return errList } // AllowUnconditionalUpdate is the default update policy for ServiceCIDR objects.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testing_test.go
import /* ERROR "8:9" */ // indented with blanks ` m := CommentMap(strings.NewReader(src), regexp.MustCompile("^ ERROR ")) found := 0 // number of errors found for line, errlist := range m { for _, err := range errlist { if err.Pos.Line() != line { t.Errorf("%v: got map line %d; want %d", err, err.Pos.Line(), line) continue } // err.Pos.Line() == line
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:53:18 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go
"github.com/google/pprof/internal/report" ) // stackView generates the flamegraph view. func (ui *webInterface) stackView(w http.ResponseWriter, req *http.Request) { // Get all data in a report. rpt, errList := ui.makeReport(w, req, []string{"svg"}, func(cfg *config) { cfg.CallTree = true cfg.Trim = false cfg.Granularity = "filefunctions" }) if rpt == nil { return // error already reported }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/registry/core/event/strategy_test.go
Source: api.EventSource{Component: "test"}, Type: api.EventTypeNormal, } } eventA := makeEvent("eventA") eventB := makeEvent("eventB") errList := Strategy.ValidateUpdate(context.Background(), eventA, eventB) if len(errList) == 0 { t.Errorf("ValidateUpdate should fail on name change") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 4.3K bytes - Viewed (0) -
src/go/types/commentMap_test.go
import /* ERROR "8:9" */ // indented with blanks ` m := commentMap([]byte(src), regexp.MustCompile("^ ERROR ")) found := 0 // number of errors found for line, errlist := range m { for _, err := range errlist { if err.line != line { t.Errorf("%v: got map line %d; want %d", err, err.line, line) continue } // err.line == line got := strings.TrimSpace(err.text[len(" ERROR "):])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 3K bytes - Viewed (0)