Skip to content

Commit

Permalink
Merge pull request #20 from Conjur-Enterprise/bump-0.12.3
Browse files Browse the repository at this point in the history
CNJR-4593: Rename policy validate query parameter to dryRun
  • Loading branch information
imheresamir authored and GitHub Enterprise committed Jul 15, 2024
2 parents 7a19f1b + 09fdc56 commit b977069
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.12.3] - 2024-07-15

### Changed
- Rename `validate` query parameter to `dryRun` (CNJR-4593)

## [0.12.2] - 2024-07-15

### Changed
Expand Down Expand Up @@ -202,7 +207,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- Initial version

[Unreleased]: https://github.com/cyberark/conjur-api-go/compare/v0.12.2...HEAD
[Unreleased]: https://github.com/cyberark/conjur-api-go/compare/v0.12.3...HEAD
[v0.12.3]: https://github.com/cyberark/conjur-api-go/compare/v0.12.2...v0.12.3
[v0.12.2]: https://github.com/cyberark/conjur-api-go/compare/v0.12.1...v0.12.2
[v0.12.1]: https://github.com/cyberark/conjur-api-go/compare/v0.12.0...v0.12.1
[v0.12.0]: https://github.com/cyberark/conjur-api-go/compare/v0.11.4...v0.12.0
Expand Down
2 changes: 1 addition & 1 deletion conjurapi/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ func (c *Client) LoadPolicyRequest(mode PolicyMode, policyID string, policy io.R
)

if validate {
routerUrl = routerUrl.withQuery("validate=true")
routerUrl = routerUrl.withQuery("dryRun=true")
}

policyURL := routerUrl.String()
Expand Down

0 comments on commit b977069

Please sign in to comment.