Ignore Created and Updated

The Azure response has changed, and is breaking the code's ability to
properly deserailize the response.
This commit is contained in:
Christopher Boumenot
2016-07-15 21:06:03 -07:00
parent 2e949bf43d
commit c7262d6426
-7
View File
@@ -27,13 +27,6 @@ type VaultClient struct {
type Secret struct {
ID *string `json:"id,omitempty"`
Value string `json:"value"`
Attributes SecretAttributes `json:"attributes"`
}
type SecretAttributes struct {
Enabled bool `json:"enabled"`
Created *string `json:"created"`
Updated *string `json:"updated"`
}
func (client *VaultClient) GetSecret(vaultName, secretName string) (*Secret, error) {