@@ -42,7 +42,7 @@ func TestUpdateCollectorStatusUnsupported(t *testing.T) {
42
42
},
43
43
}
44
44
45
- err := UpdateCollectorStatus (ctx , cli , changed )
45
+ err := updateCollectorStatus (ctx , cli , changed )
46
46
assert .NoError (t , err )
47
47
48
48
assert .Equal (t , int32 (0 ), changed .Status .Scale .Replicas , "expected replicas to be 0" )
@@ -89,7 +89,7 @@ func TestUpdateCollectorStatusDeploymentMode(t *testing.T) {
89
89
},
90
90
}
91
91
92
- err := UpdateCollectorStatus (ctx , cli , changed )
92
+ err := updateCollectorStatus (ctx , cli , changed )
93
93
assert .NoError (t , err )
94
94
95
95
assert .Equal (t , int32 (1 ), changed .Status .Scale .Replicas , "expected replicas to be 1" )
@@ -137,7 +137,7 @@ func TestUpdateCollectorStatusStatefulset(t *testing.T) {
137
137
},
138
138
}
139
139
140
- err := UpdateCollectorStatus (ctx , cli , changed )
140
+ err := updateCollectorStatus (ctx , cli , changed )
141
141
assert .NoError (t , err )
142
142
143
143
assert .Equal (t , int32 (1 ), changed .Status .Scale .Replicas , "expected replicas to be 1" )
@@ -184,7 +184,7 @@ func TestUpdateCollectorStatusDaemonsetMode(t *testing.T) {
184
184
},
185
185
}
186
186
187
- err := UpdateCollectorStatus (ctx , cli , changed )
187
+ err := updateCollectorStatus (ctx , cli , changed )
188
188
assert .NoError (t , err )
189
189
190
190
assert .Contains (t , changed .Status .Scale .Selector , "customLabel=customValue" , "expected selector to contain customlabel=customValue" )
0 commit comments