Fix warning by adding comment to exported function
Warning was
pod_controller.go:30: exported method ReconcilePods.SetResources should have comment or be unexported
@@ -27,6 +27,7 @@ type ReconcilePods struct {
resources []types.NamespacedName
}
+// SetResources updates context's resources
func (r *ReconcilePods) SetResources(resources []types.NamespacedName) {
r.resources = resources
}
