diff options
author | 2020-09-01 21:18:45 +0000 | |
---|---|---|
committer | 2020-09-01 21:18:45 +0000 | |
commit | e6277404b61f508d6af11b3e8bb067d716ba21c0 (patch) | |
tree | f146afe803c008576b07ea353a5bc05541e663db /src/monitor/pkg/controller/resourcebundlestate/service_controller.go | |
parent | 65e4059d86a5f0dda682ebd879f409be18afa5b0 (diff) | |
parent | 645c6a331cd00043fcf9f567f5f261a9db070918 (diff) |
Merge "Enhance the status query API"
Diffstat (limited to 'src/monitor/pkg/controller/resourcebundlestate/service_controller.go')
-rw-r--r-- | src/monitor/pkg/controller/resourcebundlestate/service_controller.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/monitor/pkg/controller/resourcebundlestate/service_controller.go b/src/monitor/pkg/controller/resourcebundlestate/service_controller.go index d1bb2fd6..80bde3b6 100644 --- a/src/monitor/pkg/controller/resourcebundlestate/service_controller.go +++ b/src/monitor/pkg/controller/resourcebundlestate/service_controller.go @@ -168,6 +168,7 @@ func (r *serviceReconciler) updateSingleCR(cr *v1alpha1.ResourceBundleState, svc // Add it to CR cr.Status.ServiceStatuses = append(cr.Status.ServiceStatuses, corev1.Service{ + TypeMeta: svc.TypeMeta, ObjectMeta: svc.ObjectMeta, Status: svc.Status, }) |