Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LogPanic (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    		defer HandleCrash()
    		panic("test panic")
    	})
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    	// Example log:
    	//
    	// ...] Observed a panic: test panic
    	// goroutine 6 [running]:
    	// command-line-arguments.logPanic(0x..., 0x...)
    	// 	.../src/k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go:69 +0x...
    	lines := strings.Split(log, "\n")
    	if len(lines) < 4 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    func ApplyClusterMerge(pctx networking.EnvoyFilter_PatchContext, efw *model.EnvoyFilterWrapper,
    	c *cluster.Cluster, hosts []host.Name,
    ) (out *cluster.Cluster) {
    	defer runtime.HandleCrash(runtime.LogPanic, func(any) {
    		log.Errorf("clusters patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name)
    		IncrementEnvoyFilterErrorMetric(Cluster)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top