From 604eccdeb964c1b640692f832f74d9f9cf8f478e Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Wed, 25 Sep 2019 14:37:41 -0700 Subject: Added Daemonset Status predicate Added Daemonset Status predicate to optimize watch on DS. Minor fixes on status update for the controllers by coalescing status and CR update together. Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan Change-Id: I2a56f0b93c2d7a56b9e8149c41f8c6f22be86ef1 --- .../collectd-operator/pkg/controller/utils/collectdutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnfs/DAaaS/microservices/collectd-operator/pkg/controller/utils/collectdutils.go') diff --git a/vnfs/DAaaS/microservices/collectd-operator/pkg/controller/utils/collectdutils.go b/vnfs/DAaaS/microservices/collectd-operator/pkg/controller/utils/collectdutils.go index 17cad0e5..b379d916 100644 --- a/vnfs/DAaaS/microservices/collectd-operator/pkg/controller/utils/collectdutils.go +++ b/vnfs/DAaaS/microservices/collectd-operator/pkg/controller/utils/collectdutils.go @@ -211,7 +211,7 @@ func RebuildCollectdConf(rc client.Client, ns string, isDelete bool, delPlugin s collectdConf += cpConf + "\n" } - collectdConf += "#Last line (collectd requires ā€˜\\nā€™ at the last line)\n" + collectdConf += "#Last line (collectd requires '\\n' at the last line)\n" return collectdConf, nil } -- cgit 1.2.3-korg