@@ -125,17 +125,17 @@ func (conditions *Conditions) Has(t Type) bool {
125125}
126126
127127// MarkTrue sets Status=True for the condition with the given type.
128- func (conditions * Conditions ) MarkTrue (t Type , messageFormat string , messageArgs ... interface {} ) {
128+ func (conditions * Conditions ) MarkTrue (t Type , messageFormat string , messageArgs ... any ) {
129129 conditions .Set (TrueCondition (t , messageFormat , messageArgs ... ))
130130}
131131
132132// MarkFalse sets Status=False for the condition with the given type.
133- func (conditions * Conditions ) MarkFalse (t Type , reason Reason , severity Severity , messageFormat string , messageArgs ... interface {} ) {
133+ func (conditions * Conditions ) MarkFalse (t Type , reason Reason , severity Severity , messageFormat string , messageArgs ... any ) {
134134 conditions .Set (FalseCondition (t , reason , severity , messageFormat , messageArgs ... ))
135135}
136136
137137// MarkUnknown sets Status=Unknown for the condition with the given type.
138- func (conditions * Conditions ) MarkUnknown (t Type , reason Reason , messageFormat string , messageArgs ... interface {} ) {
138+ func (conditions * Conditions ) MarkUnknown (t Type , reason Reason , messageFormat string , messageArgs ... any ) {
139139 conditions .Set (UnknownCondition (t , reason , messageFormat , messageArgs ... ))
140140}
141141
@@ -225,7 +225,7 @@ func HasSameState(i, j *Condition) bool {
225225}
226226
227227// TrueCondition returns a condition with Status=True and the given type.
228- func TrueCondition (t Type , messageFormat string , messageArgs ... interface {} ) * Condition {
228+ func TrueCondition (t Type , messageFormat string , messageArgs ... any ) * Condition {
229229 return & Condition {
230230 Type : t ,
231231 Status : corev1 .ConditionTrue ,
@@ -236,7 +236,7 @@ func TrueCondition(t Type, messageFormat string, messageArgs ...interface{}) *Co
236236}
237237
238238// FalseCondition returns a condition with Status=False and the given type.
239- func FalseCondition (t Type , reason Reason , severity Severity , messageFormat string , messageArgs ... interface {} ) * Condition {
239+ func FalseCondition (t Type , reason Reason , severity Severity , messageFormat string , messageArgs ... any ) * Condition {
240240 return & Condition {
241241 Type : t ,
242242 Status : corev1 .ConditionFalse ,
@@ -247,7 +247,7 @@ func FalseCondition(t Type, reason Reason, severity Severity, messageFormat stri
247247}
248248
249249// UnknownCondition returns a condition with Status=Unknown and the given type.
250- func UnknownCondition (t Type , reason Reason , messageFormat string , messageArgs ... interface {} ) * Condition {
250+ func UnknownCondition (t Type , reason Reason , messageFormat string , messageArgs ... any ) * Condition {
251251 return & Condition {
252252 Type : t ,
253253 Status : corev1 .ConditionUnknown ,
0 commit comments