Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getClusterResourcesCancel (0.21 sec)

  1. tools/bug-report/pkg/bugreport/bugreport.go

    	runner.SetClient(client)
    
    	clusterResourcesCtx, getClusterResourcesCancel := context.WithTimeout(context.Background(), commandTimeout)
    	curTime := time.Now()
    	defer func() {
    		if time.Until(curTime.Add(commandTimeout)) < 0 {
    			message := "Timeout when running bug report command, please using --include or --exclude to filter"
    			common.LogAndPrintf(message)
    		}
    		getClusterResourcesCancel()
    	}()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top