From 6e0b4df46f51f9793f2d88626234edaaf9992403 Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Wed, 15 Apr 2020 18:45:47 +0000 Subject: Added intentResolver IntentResolver shall collect the clusterdetails for each of the app where it needs to be deployed. This shall be called by the instantiation code. Issue-ID: MULTICLOUD-1041 Signed-off-by: Rajamohan Raj Change-Id: I7d29901e46a5349ef502786c187c1c88bea61a12 --- src/orchestrator/pkg/infra/contextdb/mock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/orchestrator/pkg/infra') diff --git a/src/orchestrator/pkg/infra/contextdb/mock.go b/src/orchestrator/pkg/infra/contextdb/mock.go index fc0f8ff7..9aaed750 100644 --- a/src/orchestrator/pkg/infra/contextdb/mock.go +++ b/src/orchestrator/pkg/infra/contextdb/mock.go @@ -47,7 +47,7 @@ func (c *MockEtcd) Delete(key string) error { func (c *MockEtcd) GetAllKeys(path string) ([]string, error) { var keys []string - for k, _ := range c.Items { + for k := range c.Items { keys = append(keys, string(k)) } return keys, nil -- cgit 1.2.3-korg