Send the error message to user when enabling canary feature fails. (#990)

* Send the error message to user when enabling canary feature fails.
* Fix controller doesn’t reply canary error when promClient tries connect to invalid prometheus server
This commit is contained in:
smruthi2187
2019-01-14 22:43:27 +08:00
committed by Ta-Ching Chen
parent 89081b087b
commit db5165e032
8 changed files with 60 additions and 30 deletions
+1
View File
@@ -18,6 +18,7 @@ package featureconfig
const (
FeatureConfigFile = "/etc/config/config.yaml"
CanaryFeature = "canary"
)
type (