// UpdateNode updates the node infomation
UpdateNode updates the node infomation
// UpdateNode updates the node infomation
func (r *EtcdRegistry) UpdateNode(pctx context.Context, prefix, nodeID, host string) error {
	ctx, cancel := context.WithTimeout(pctx, r.reqTimeout)
	defer cancel()
	return r.updateNode(ctx, prefix, nodeID, host)
}
func ( r * EtcdRegistry ) UpdateNode ( pctx context . Context , prefix , nodeID , host string ) error { ctx , cancel := context . WithTimeout ( pctx , r . reqTimeout ) defer cancel ( ) return r . updateNode ( ctx , prefix , nodeID , host ) }
UpdateNode updates the node infomation
UpdateNode updates the node infomation