Skip to content

Commit

Permalink
Merge pull request #459 from hashicorp/tt-cv-speculative-fix
Browse files Browse the repository at this point in the history
Speculative Flag inaccurate on Configuration Version List
  • Loading branch information
sebasslash committed Jul 11, 2022
2 parents dc641ab + 9727c2b commit 11709cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,9 @@

* [beta] Add support for triggering Workspace runs through matching Git tags [#434](https://github.com/hashicorp/go-tfe/pull/434)

## Bug fixes
* Fixed JSON mapping for Configuration Versions failing to properly set the `speculative` property [#459](https://github.com/hashicorp/go-tfe/pull/459)

# v1.4.0

## Enhancements
Expand Down
2 changes: 1 addition & 1 deletion configuration_version.go
Expand Up @@ -92,7 +92,7 @@ type ConfigurationVersion struct {
Error string `jsonapi:"attr,error"`
ErrorMessage string `jsonapi:"attr,error-message"`
Source ConfigurationSource `jsonapi:"attr,source"`
Speculative bool `jsonapi:"attr,speculative "`
Speculative bool `jsonapi:"attr,speculative"`
Status ConfigurationStatus `jsonapi:"attr,status"`
StatusTimestamps *CVStatusTimestamps `jsonapi:"attr,status-timestamps"`
UploadURL string `jsonapi:"attr,upload-url"`
Expand Down

0 comments on commit 11709cb

Please sign in to comment.