Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sleepWatchInstall (0.35 sec)

  1. cni/pkg/install/install_test.go

    							readyChan <- true
    						}
    					}
    				}
    			}(ctx, ticker.C)
    
    			// Listen to sleepWatchInstall return value
    			// Should detect a valid configuration and wait indefinitely for a file modification
    			errChan := make(chan error)
    			go func(ctx context.Context) {
    				errChan <- in.sleepWatchInstall(ctx, sets.String{})
    			}(ctx)
    
    			select {
    			case <-readyChan:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    	}
    	installLog.Info("Installation succeed, start watching for re-installation.")
    
    	for {
    		// if sleepWatchInstall yields without error, that means the config might have been modified in some fashion.
    		// so we rerun `install`, which will update the modified config if it has fallen out of sync with
    		// our desired state
    		err := in.sleepWatchInstall(ctx, installedBins)
    		if err != nil {
    			installLog.Error("error watching node CNI config")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top