Commit bd106b6d authored by Michael Nitschinger's avatar Michael Nitschinger
Browse files

fix example

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -52,7 +52,7 @@ use futures::Future;
/// a document.
fn main() {
// Initialize the Cluster
let cluster = Cluster::new("localhost").expect("Could not initialize Cluster");
let mut cluster = Cluster::new("localhost").expect("Could not initialize Cluster");
// If you auth with 5.0 / RBAC, use this:
cluster.authenticate("Administrator", "password");
......
......@@ -9,7 +9,7 @@ use futures::Future;
/// a document.
fn main() {
// Initialize the Cluster
let cluster = Cluster::new("localhost").expect("Could not initialize Cluster");
let mut cluster = Cluster::new("localhost").expect("Could not initialize Cluster");
// If you auth with 5.0 / RBAC, use this:
cluster.authenticate("Administrator", "password");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment