Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldUpdateSpec (0.32 sec)

  1. pkg/registry/flowcontrol/ensurer/strategy.go

    	}
    	if updateAnnotation {
    		setAutoUpdateAnnotation(revised, autoUpdateSpec)
    	}
    
    	return revised, true, nil
    }
    
    // shouldUpdateSpec inspects the auto-update annotation key and generation field to determine
    // whether the config object should be auto-updated.
    func shouldUpdateSpec(accessor metav1.Object) bool {
    	value := accessor.GetAnnotations()[flowcontrolv1.AutoUpdateAnnotationKey]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top