Use SetControllerReference from controllerutil #258
15.38% of diff hit (target 71.82%)
View this Pull Request on Codecov
15.38% of diff hit (target 71.82%)
Annotations
Check warning on line 74 in controllers/agentaction_controller.go
codecov / codecov/patch
controllers/agentaction_controller.go#L70-L74
Added lines #L70 - L74 were not covered by tests
Check warning on line 467 in controllers/agentaction_controller.go
codecov / codecov/patch
controllers/agentaction_controller.go#L466-L467
Added lines #L466 - L467 were not covered by tests
Check warning on line 227 in controllers/agentconfig_controller.go
codecov / codecov/patch
controllers/agentconfig_controller.go#L226-L227
Added lines #L226 - L227 were not covered by tests
Check warning on line 209 in controllers/credentialset_controller.go
codecov / codecov/patch
controllers/credentialset_controller.go#L208-L209
Added lines #L208 - L209 were not covered by tests
Check warning on line 223 in controllers/credentialset_controller.go
codecov / codecov/patch
controllers/credentialset_controller.go#L222-L223
Added lines #L222 - L223 were not covered by tests
Check warning on line 72 in controllers/installation_controller.go
codecov / codecov/patch
controllers/installation_controller.go#L68-L72
Added lines #L68 - L72 were not covered by tests
Check warning on line 236 in controllers/installation_controller.go
codecov / codecov/patch
controllers/installation_controller.go#L235-L236
Added lines #L235 - L236 were not covered by tests
Check warning on line 195 in controllers/parameterset_controller.go
codecov / codecov/patch
controllers/parameterset_controller.go#L194-L195
Added lines #L194 - L195 were not covered by tests
Check warning on line 265 in controllers/parameterset_controller.go
codecov / codecov/patch
controllers/parameterset_controller.go#L264-L265
Added lines #L264 - L265 were not covered by tests