func()

in internal/controller/legacy_token_cleanup_controller.go [141:152]


func (a *cleanupAction) validate() {
	var present int
	if a.updateSecret != nil {
		present++
	}
	if a.checkCompletion {
		present++
	}
	if present > 1 {
		panic("programmer error: more than one action specified in reconciliation loop")
	}
}