diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-05-16 03:13:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-16 03:13:16 +0000 |
commit | c8d038951d41978bb00005e23081e6562c0ab754 (patch) | |
tree | f1b8c1374d8289556223ad116d3ceaff5151003f /src/k8splugin/api/api.go | |
parent | 458c676f883514c8eec57f23a88abc2e79fffa20 (diff) | |
parent | 401aba14c5f5e55480afb491af2bf953cabc6ac2 (diff) |
Merge "Move config to app and connect to instance"
Diffstat (limited to 'src/k8splugin/api/api.go')
-rw-r--r-- | src/k8splugin/api/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/k8splugin/api/api.go b/src/k8splugin/api/api.go index 2976b82f..58e50a16 100644 --- a/src/k8splugin/api/api.go +++ b/src/k8splugin/api/api.go @@ -25,7 +25,7 @@ import ( func NewRouter(defClient rb.DefinitionManager, profileClient rb.ProfileManager, instClient app.InstanceManager, - configClient rb.ConfigManager, + configClient app.ConfigManager, templateClient rb.ConfigTemplateManager) *mux.Router { router := mux.NewRouter() @@ -90,7 +90,7 @@ func NewRouter(defClient rb.DefinitionManager, // Config value if configClient == nil { - configClient = rb.NewConfigClient() + configClient = app.NewConfigClient() } configHandler := rbConfigHandler{client: configClient} resRouter.HandleFunc("/definition/{rbname}/{rbversion}/profile/{prname}/config", configHandler.createHandler).Methods("POST") |