Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Removed input validation that client also does
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdg committed Feb 25, 2019
1 parent b7c0b32 commit 52eaa3e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions secrethub/resource_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ func resourceSecretCreate(d *schema.ResourceData, m interface{}) error {
return err
}

if path.HasVersion() {
return fmt.Errorf("path '%v' should not have a version number", path)
}

res, err := client.Secrets().Write(path, data)
if err != nil {
return err
Expand Down

0 comments on commit 52eaa3e

Please sign in to comment.