aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/internal/app/config_test.go
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-10-25 22:21:16 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2021-10-25 22:21:16 +0200
commit3f0da55c0183e9da2f4658308dee1915338266aa (patch)
treec2b9b4ad06786e51bf9262cb3d0dfacad7ee9853 /src/k8splugin/internal/app/config_test.go
parent6c28e5a7ca5a0688f5aefad010e0a3071ff6fe0b (diff)
Fix resolution of values for Config API0.9.3
Issue-ID: MULTICLOUD-1414 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ibca5846ffe083bfc4d505c4c3c13efac2c6e2426
Diffstat (limited to 'src/k8splugin/internal/app/config_test.go')
-rw-r--r--src/k8splugin/internal/app/config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/k8splugin/internal/app/config_test.go b/src/k8splugin/internal/app/config_test.go
index 0cc3c3ce..1aef6656 100644
--- a/src/k8splugin/internal/app/config_test.go
+++ b/src/k8splugin/internal/app/config_test.go
@@ -91,7 +91,7 @@ func TestCreateConfig(t *testing.T) {
db.Etcd = testCase.mockdb
db.DBconn = provideMockModelData(testCase.instanceID, testCase.rbName,
testCase.rbVersion, testCase.profileName)
- resolve = func(rbName, rbVersion, profileName string, p Config, releaseName string) (configResourceList, error) {
+ resolve = func(rbName, rbVersion, profileName, instanceId string, p Config, releaseName string) (configResourceList, error) {
return configResourceList{}, nil
}
impl := NewConfigClient()
@@ -204,7 +204,7 @@ func TestRollbackConfig(t *testing.T) {
db.Etcd = testCase.mockdb
db.DBconn = provideMockModelData(testCase.instanceID, testCase.rbName,
testCase.rbVersion, testCase.profileName)
- resolve = func(rbName, rbVersion, profileName string, p Config, releaseName string) (configResourceList, error) {
+ resolve = func(rbName, rbVersion, profileName, instanceID string, p Config, releaseName string) (configResourceList, error) {
return configResourceList{}, nil
}
impl := NewConfigClient()