Function etcd::members::update [] [src]

pub fn update<C>(
    client: &Client<C>,
    id: String,
    peer_urls: Vec<String>
) -> Box<Future<Item = Response<()>, Error = Vec<Error>>> where
    C: Clone + Connect

Updates the peer URLs of a member of the cluster.

Parameters

  • client: A Client to use to make the API call.
  • id: The unique identifier of the member to update.
  • peer_urls: URLs exposing this cluster member's peer API.