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

Remove unnecessary fields from Backup Gateway specification model #164

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions pkg/service/ecloud/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@
UpdatedAt connection.DateTime `json:"updated_at"`
}

// IP Address represents an eCloud VPC Network IP Address

Check notice on line 936 in pkg/service/ecloud/model.go

View workflow job for this annotation

GitHub Actions / Qodana for Go

Comment of exported element starts with the incorrect name

Comment should have the following format 'IPAddress ...' (with an optional leading article)
type IPAddress struct {
ID string `json:"id"`
Name string `json:"name"`
Expand Down Expand Up @@ -1068,14 +1068,9 @@

// BackupGatewaySpecification represents a Backup Gateway specification
type BackupGatewaySpecification struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
CPU int `json:"cpu"`
RAM int `json:"ram"`
IopsID string `json:"iops_id"`
VolumeCapacity int `json:"volume_capacity"`
ImageID string `json:"image_id"`
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
}

// BackupGateway represents a Backup Gateway
Expand Down
Loading