operator/job/status.go
Method Config.SetConditionUnknownWithMessage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Config) SetConditionUnknownWithMessage(ctx context.Context, condition k8upv1.ConditionType, reason k8upv1.ConditionReason, message string, args ...interface{}) {
Method Config.SetConditionTrueWithMessage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Config) SetConditionTrueWithMessage(ctx context.Context, condition k8upv1.ConditionType, reason k8upv1.ConditionReason, message string, args ...interface{}) {
Method Config.SetConditionFalseWithMessage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Config) SetConditionFalseWithMessage(ctx context.Context, condition k8upv1.ConditionType, reason k8upv1.ConditionReason, message string, args ...interface{}) {
Method Config.patchConditions
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Config) patchConditions(ctx context.Context, conditionStatus metav1.ConditionStatus, reason k8upv1.ConditionReason, message string, condition k8upv1.ConditionType) {