@@ -31,7 +31,7 @@ func TestUpdateCollectorStatusUnsupported(t *testing.T) {
31
31
},
32
32
}
33
33
34
- err := UpdateCollectorStatus (ctx , cli , changed )
34
+ err := updateCollectorStatus (ctx , cli , changed )
35
35
assert .NoError (t , err )
36
36
37
37
assert .Equal (t , int32 (0 ), changed .Status .Scale .Replicas , "expected replicas to be 0" )
@@ -78,7 +78,7 @@ func TestUpdateCollectorStatusDeploymentMode(t *testing.T) {
78
78
},
79
79
}
80
80
81
- err := UpdateCollectorStatus (ctx , cli , changed )
81
+ err := updateCollectorStatus (ctx , cli , changed )
82
82
assert .NoError (t , err )
83
83
84
84
assert .Equal (t , int32 (1 ), changed .Status .Scale .Replicas , "expected replicas to be 1" )
@@ -126,7 +126,7 @@ func TestUpdateCollectorStatusStatefulset(t *testing.T) {
126
126
},
127
127
}
128
128
129
- err := UpdateCollectorStatus (ctx , cli , changed )
129
+ err := updateCollectorStatus (ctx , cli , changed )
130
130
assert .NoError (t , err )
131
131
132
132
assert .Equal (t , int32 (1 ), changed .Status .Scale .Replicas , "expected replicas to be 1" )
@@ -173,7 +173,7 @@ func TestUpdateCollectorStatusDaemonsetMode(t *testing.T) {
173
173
},
174
174
}
175
175
176
- err := UpdateCollectorStatus (ctx , cli , changed )
176
+ err := updateCollectorStatus (ctx , cli , changed )
177
177
assert .NoError (t , err )
178
178
179
179
assert .Contains (t , changed .Status .Scale .Selector , "customLabel=customValue" , "expected selector to contain customlabel=customValue" )
0 commit comments