From 5dca98fe71948c355ff608b59f4fa8389faa8ece Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 3 Apr 2021 11:37:13 -0700 Subject: [PATCH] fix typo --- weed/sequence/snowflake_sequencer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/sequence/snowflake_sequencer.go b/weed/sequence/snowflake_sequencer.go index 679588120..300449fa0 100644 --- a/weed/sequence/snowflake_sequencer.go +++ b/weed/sequence/snowflake_sequencer.go @@ -15,7 +15,7 @@ type SnowflakeSequencer struct { func NewSnowflakeSequencer(nodeid string) (*SnowflakeSequencer, error) { nodeid_hash := hash(nodeid) & 0x3ff - glog.V(0).Infof("use snowfalke seq id generator, nodeid:%s hex_of_nodeid: %x", nodeid, nodeid_hash) + glog.V(0).Infof("use snowflake seq id generator, nodeid:%s hex_of_nodeid: %x", nodeid, nodeid_hash) node, err := snowflake.NewNode(int64(nodeid_hash)) if err != nil { fmt.Println(err)