Skip to content

Commit

Permalink
TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Oct 21, 2014
1 parent 246baca commit eec1f1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func (mgr *Manager) SaveNodeDef(kind string) error {
}
nodeDef, exists := nodeDefs.NodeDefs[mgr.bindAddr]
if exists {
// TODO: need a way to force overwrite other node's UUID?
if nodeDef.UUID != mgr.uuid {
return fmt.Errorf("some other node is running at our bindAddr: %v,"+
" with different uuid: %s, than our uuid: %s",
Expand Down

0 comments on commit eec1f1c

Please sign in to comment.