Skip to content

Commit

Permalink
fixed issue 141
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkateshRavula committed Jun 30, 2020
1 parent 0efbdab commit dad91fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)

# [v1.4.1] (unreleased)
#### Bug fixes & Enhancements:
- [#141] (https://github.com/HewlettPackard/oneview-golang/issues/141) Query Parameter retains in the next endpoint call

# [v1.4.0] (2020-05-27)
### Notes
- Added support for loginMsgAck attribute in login session POST request.
Expand Down
3 changes: 3 additions & 0 deletions rest/netutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ func (c *Client) RestAPICall(method Method, path string, options interface{}) ([
log.Debugf("ERROR --> %+v\n", err)
// DEBUGGING WHILE WE WORK

// RESET QUERY PARAMETERS AFTER EVERY CALL
c.SetQueryString(nil)

data, err := ioutil.ReadAll(resp.Body)
if !c.isOkStatus(resp.StatusCode) {
type apiErr struct {
Expand Down

0 comments on commit dad91fa

Please sign in to comment.