Skip to content

Commit

Permalink
fix worker无法获取到当前Node的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wo10378931 committed Oct 11, 2019
1 parent decb662 commit 6af06ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/services/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func InitNodeService() error {
}

// 首次更新节点数据(注册到Redis)
// UpdateNodeData()
UpdateNodeData()

// 获取当前节点
node, err := model.GetCurrentNode()
Expand Down

0 comments on commit 6af06ef

Please sign in to comment.