From 16401c1ffb58ad5aee4e7b37b356114001e607cd Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Fri, 31 Jan 2020 10:36:58 +0100 Subject: [PATCH] splish-splash --- pkg/proto/v0/accounts.pb.go | 3 ++- pkg/store/filesystem/store.go | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/proto/v0/accounts.pb.go b/pkg/proto/v0/accounts.pb.go index 6e4503750a..89560b4e65 100644 --- a/pkg/proto/v0/accounts.pb.go +++ b/pkg/proto/v0/accounts.pb.go @@ -5,8 +5,9 @@ package proto import ( fmt "fmt" - proto "github.com/golang/protobuf/proto" math "math" + + proto "github.com/golang/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. diff --git a/pkg/store/filesystem/store.go b/pkg/store/filesystem/store.go index ace07ec622..be2396be28 100644 --- a/pkg/store/filesystem/store.go +++ b/pkg/store/filesystem/store.go @@ -4,7 +4,6 @@ package store import ( "fmt" "io/ioutil" - "log" mstore "github.com/micro/go-micro/v2/store" ) @@ -42,7 +41,7 @@ func (s *Store) Write(rec *mstore.Record) error { } if err := ioutil.WriteFile(s.mountPath+"/"+rec.Key, rec.Value, 0644); err != nil { - log.Panic(err) + // TODO handle error } return nil }