From 0a4ef012941087befc52eddd3987df864106d982 Mon Sep 17 00:00:00 2001 From: zhulongcheng Date: Thu, 28 Feb 2019 10:52:54 +0800 Subject: [PATCH] fix(inmem): fix typos in source service --- inmem/source.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inmem/source.go b/inmem/source.go index bbf03e5f9f..e2dde0b364 100644 --- a/inmem/source.go +++ b/inmem/source.go @@ -125,7 +125,7 @@ func (s *Service) UpdateSource(ctx context.Context, id platform.ID, upd platform if err != nil { return nil, &platform.Error{ Err: err, - Op: OpPrefix + platform.OpUpdateView, + Op: OpPrefix + platform.OpUpdateSource, } } @@ -139,7 +139,7 @@ func (s *Service) DeleteSource(ctx context.Context, id platform.ID) error { if _, err := s.FindSourceByID(ctx, id); err != nil { return &platform.Error{ Err: err, - Op: OpPrefix + platform.OpDeleteView, + Op: OpPrefix + platform.OpDeleteSource, } } s.sourceKV.Delete(id.String())