mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-18 10:09:59 -06:00
splish-splash
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user