Merge pull request #378 from yuanfeng0905/fix-mock

fix:NewMock return Client type
pull/382/head
Terry.Mao 5 years ago committed by GitHub
commit a19a6677f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/conf/paladin/mock.go

@ -13,7 +13,7 @@ type Mock struct {
}
// 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))
for k, v := range vs {
values[k] = &Value{val: v, raw: v}

Loading…
Cancel
Save