X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=reader%2FsdlInstanceMock.go;fp=reader%2FsdlInstanceMock.go;h=c03bf21c0cc09bf05f632185098a0ed6b8075ea2;hb=3519d193f64372d84b638179e2d050ba3f9dc3ca;hp=dd0a640e214fb6b0255145a824d1c997cf23cc65;hpb=3910f469611577225239aceaf65abfa0962c586b;p=ric-plt%2Fnodeb-rnib.git diff --git a/reader/sdlInstanceMock.go b/reader/sdlInstanceMock.go index dd0a640..c03bf21 100644 --- a/reader/sdlInstanceMock.go +++ b/reader/sdlInstanceMock.go @@ -106,7 +106,7 @@ func (m *MockSdlInstance) RemoveIf(key string, data interface{}) (bool, error) { return a.Bool(0), a.Error(1) } -func (m *MockSdlInstance) AddMember(group string, member ...interface{}) error{ +func (m *MockSdlInstance) AddMember(group string, member ...interface{}) error { a := m.Called(group, member) return a.Error(0) } @@ -123,11 +123,11 @@ func (m *MockSdlInstance) GetMembers(group string) ([]string, error) { a := m.Called(group) return a.Get(0).([]string), a.Error(1) } -func (m *MockSdlInstance) IsMember(group string, member interface{}) (bool, error){ +func (m *MockSdlInstance) IsMember(group string, member interface{}) (bool, error) { a := m.Called(group, member) return a.Bool(0), a.Error(1) } -func (m *MockSdlInstance) GroupSize(group string) (int64, error){ - a := m.Called(group,) +func (m *MockSdlInstance) GroupSize(group string) (int64, error) { + a := m.Called(group, ) return int64(a.Int(0)), a.Error(1) }