Removing String from interface as this is
not required anymore
Issue-ID: MULTICLOUD-1001
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I40a950bb343f4cfcc5d51e52e44d0f788fc5e303
 
 import (
        "encoding/json"
+       "fmt"
 
        pkgerrors "github.com/pkg/errors"
 )
                return nil, m.Err
        }
 
+       str := fmt.Sprintf("%v", key)
        for k, v := range m.Items {
-               if k == key.String() {
+               if k == str {
                        return v[tag], nil
                }
        }
 
 // that wants to use the Store interface. This allows various
 // db backends and key types.
 type Key interface {
-       String() string
 }
 
 // Store is an interface for accessing the database