Skip to content

Commit

Permalink
fix token API not returning IDs anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolai86 committed Aug 6, 2018
1 parent fec7381 commit c748433
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scaleway/resource_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func testAccCheckScalewayTokenExists(n string) resource.TestCheckFunc {
}

if token.ID != rs.Primary.ID {
return fmt.Errorf("Record not found")
return fmt.Errorf("Expected %q, got %q", rs.Primary.ID, token.ID)
}

return nil
Expand Down
2 changes: 2 additions & 0 deletions vendor/github.com/nicolai86/scaleway-sdk/tokens.go

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

6 changes: 3 additions & 3 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,10 @@
"revisionTime": "2016-10-03T17:45:16Z"
},
{
"checksumSHA1": "w5i5Tximdwrgf2TDbyVr0KmNO9Q=",
"checksumSHA1": "lYIifPEUnxhvNCVdmTx9wthAyCk=",
"path": "github.com/nicolai86/scaleway-sdk",
"revision": "798f60e20bb2466bc3d8f36f1cf4f98410e49b6a",
"revisionTime": "2018-06-28T01:02:48Z"
"revision": "9f3afecfb248f8a26868cb9aaf5fe4dbdec3cadc",
"revisionTime": "2018-08-06T04:29:30Z"
},
{
"checksumSHA1": "u5s2PZ7fzCOqQX7bVPf9IJ+qNLQ=",
Expand Down

0 comments on commit c748433

Please sign in to comment.