Skip to content

Commit

Permalink
Merge pull request #370 from HewlettPackard/storage_volume_issue_368
Browse files Browse the repository at this point in the history
Datatype change for Id in DeviceSpecificattributes
  • Loading branch information
alisha-k-kalladassery authored Sep 2, 2022
2 parents 728ec4a + 0c3a680 commit 9af5bfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
### New Changes
- Added support to use portname instead of relative value during LIG creation.

# [v7.2.0](unreleased)
#### Notes
- This release extends supports of the SDK to Oneview API Version 4400.

#### Bug fixes & Enhancements:
- [#368] (https://github.com/HewlettPackard/oneview-golang/issues/368) GetStorageVolumes() Unmarshal Error

# [v7.1.0]
#### Notes
Expand Down
3 changes: 2 additions & 1 deletion ov/storage_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package ov
import (
"encoding/json"
"fmt"

"github.com/HewlettPackard/oneview-golang/rest"
"github.com/HewlettPackard/oneview-golang/utils"
"github.com/docker/machine/libmachine/log"
Expand Down Expand Up @@ -108,7 +109,7 @@ type DeviceSpecificAttributes struct {
Iqn string `json:"iqn,omitempty"`
NumberOfReplicas int `json:"numberOfReplicas,omitempty"`
DataProtectionLevel string `json:"dataProtectionLevel,omitempty"`
Id int `json:"id,omitempty"`
Id string `json:"id,omitempty"`
Uri utils.Nstring `json:"uri,omitempty"`
CopyState string `json:"copyState,omitempty"`
SnapshotPoolUri utils.Nstring `json:"snapshotPoolUri,omitempty"`
Expand Down

0 comments on commit 9af5bfb

Please sign in to comment.