aboutsummaryrefslogtreecommitdiff
path: root/weed/util/cipher.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/util/cipher.go')
-rw-r--r--weed/util/cipher.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/util/cipher.go b/weed/util/cipher.go
index f044c2ca3..6e9153015 100644
--- a/weed/util/cipher.go
+++ b/weed/util/cipher.go
@@ -7,7 +7,7 @@ import (
"errors"
"io"
- "github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/util/log"
)
type CipherKey []byte
@@ -15,7 +15,7 @@ type CipherKey []byte
func GenCipherKey() CipherKey {
key := make([]byte, 32)
if _, err := io.ReadFull(rand.Reader, key); err != nil {
- glog.Fatalf("random key gen: %v", err)
+ log.Fatalf("random key gen: %v", err)
}
return CipherKey(key)
}