Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server name to ServerHardware structure in server_hardware.go #257

Closed
mikeshapp opened this issue Sep 9, 2020 · 0 comments · Fixed by #258
Closed

Add server name to ServerHardware structure in server_hardware.go #257

mikeshapp opened this issue Sep 9, 2020 · 0 comments · Fixed by #258
Assignees
Labels

Comments

@mikeshapp
Copy link

Scenario/Intent

Add the server name to the ServerHardware structure in server_hardware.go

Environment Details

  • Golang binding for HPE OneView Version: 1.5.0
  • OneView SDK Version: 5.0
  • OneView Appliance Version: 5.0
  • OneView Client API Version: 1200
  • Golang Version: go1.14.4 windows/amd64
  • Platform: Windows 10

Steps to Add the Change

  • Added after the Category entry
type ServerHardware struct {
	ServerHardwarev200
	AssetTag              string        `json:"assetTag,omitempty"`    // "assetTag": "[Unknown]",
	Category              string        `json:"category,omitempty"`    // "category": "server-hardware",
        ServerName          string        `json:"servername,omitempty"`  // "category": "server-hardware",

Expected Result

The server name will be available in the server hardware list output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants