Files
grafana/pkg/services/apiserver/appinstaller/strategy.go
T
2025-07-21 13:32:15 -04:00

20 lines
401 B
Go

package appinstaller
import (
genericrest "k8s.io/apiserver/pkg/registry/rest"
)
type updateStrategyWrapper struct {
genericrest.RESTUpdateStrategy
}
func (s *updateStrategyWrapper) AllowCreateOnUpdate() bool {
// needed for dual write to work correctly
return true
}
func (s *updateStrategyWrapper) AllowUnconditionalUpdate() bool {
// needed for dual write to work correctly
return true
}