Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
dperitch committed Aug 9, 2019
1 parent 019f201 commit a536356
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vault/resource_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,8 @@ func tokenRead(d *schema.ResourceData, meta interface{}) error {

renewed, err := client.Auth().Token().RenewSelf(increment)
if err != nil {
fmt.Println(err)
log.Printf("[DEBUG] Error renewing token, removing from state")
d.SetId("")
//d.SetId("")
return nil
}

Expand Down

0 comments on commit a536356

Please sign in to comment.