fix:NewMock return Client type

pull/378/head
Arthur 5 years ago
parent 5949c6debf
commit 6bc1feb752
  1. 2
      pkg/conf/paladin/mock.go

@ -13,7 +13,7 @@ type Mock struct {
} }
// NewMock new a config mock client. // NewMock new a config mock client.
func NewMock(vs map[string]string) *Mock { func NewMock(vs map[string]string) Client {
values := make(map[string]*Value, len(vs)) values := make(map[string]*Value, len(vs))
for k, v := range vs { for k, v := range vs {
values[k] = &Value{val: v, raw: v} values[k] = &Value{val: v, raw: v}

Loading…
Cancel
Save