diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-02-12 22:24:33 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-02-12 22:24:33 +0000 |
commit | ba4840c52becf73c2749c9ef0f2f09ed0b9d5c7f (patch) | |
tree | 61b839884d66c9dd8269e26117aa4e4c995ad119 /vendor/github.com/hashicorp/vault | |
parent | 6e00d0000e54f21a4a393e67fd914bda4d394f4a (diff) |
Update dependencies
Diffstat (limited to 'vendor/github.com/hashicorp/vault')
-rw-r--r-- | vendor/github.com/hashicorp/vault/api/client.go | 2 | ||||
-rw-r--r-- | vendor/github.com/hashicorp/vault/api/sys_seal.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/hashicorp/vault/api/client.go b/vendor/github.com/hashicorp/vault/api/client.go index 88a8ea4..fa06d46 100644 --- a/vendor/github.com/hashicorp/vault/api/client.go +++ b/vendor/github.com/hashicorp/vault/api/client.go @@ -106,7 +106,7 @@ func DefaultConfig() *Config { func (c *Config) ConfigureTLS(t *TLSConfig) error { if c.HttpClient == nil { - return fmt.Errorf("config HTTP Client must be set") + c.HttpClient = DefaultConfig().HttpClient } var clientCert tls.Certificate diff --git a/vendor/github.com/hashicorp/vault/api/sys_seal.go b/vendor/github.com/hashicorp/vault/api/sys_seal.go index b80e33a..97a49ae 100644 --- a/vendor/github.com/hashicorp/vault/api/sys_seal.go +++ b/vendor/github.com/hashicorp/vault/api/sys_seal.go @@ -53,6 +53,7 @@ type SealStatusResponse struct { T int `json:"t"` N int `json:"n"` Progress int `json:"progress"` + Nonce string `json:"nonce"` Version string `json:"version"` ClusterName string `json:"cluster_name,omitempty"` ClusterID string `json:"cluster_id,omitempty"` |