Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
release 0.2.1, fix for Rust 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matsadler committed Oct 13, 2017
1 parent d672b1e commit aeca0e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "avvoenv"
version = "0.2.0"
version = "0.2.1"
authors = ["Avvo Infrastructure Team <[email protected]>"]
license = "MIT"

Expand Down
4 changes: 2 additions & 2 deletions src/avvoenv/source/vault.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl Client {
Ok(Client { address: address, token: None, http: client })
}

#[must_use]
// #[must_use]
pub fn ldap_auth(&mut self, username: String, password: String) -> Result<(), errors::Error> {
// workaround Vault (0.5.2?) being janky and (ldap?) auth only working
// against the leader
Expand All @@ -80,7 +80,7 @@ impl Client {
Ok(())
}

#[must_use]
// #[must_use]
fn resolve_leader(&mut self) -> Result<(), errors::Error> {
let info: LeaderResponse = self.get_response("/sys/leader")?.json()?;
if info.ha_enabled && !info.is_self {
Expand Down

0 comments on commit aeca0e7

Please sign in to comment.