Skip to content

Commit

Permalink
remove struct field tags from diskVolumeArgs
Browse files Browse the repository at this point in the history
It is not ever used for json marshal
  • Loading branch information
huww98 committed Nov 17, 2023
1 parent 88ef07c commit e7cea97
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions pkg/disk/controllerserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,24 @@ type controllerServer struct {

// Alicloud disk parameters
type diskVolumeArgs struct {
Type string `json:"type"`
RegionID string `json:"regionId"`
ZoneID string `json:"zoneId"`
FsType string `json:"fsType"`
ReadOnly bool `json:"readOnly"`
MultiAttach string `json:"multiAttach"`
Encrypted bool `json:"encrypted"`
KMSKeyID string `json:"kmsKeyId"`
PerformanceLevel string `json:"performanceLevel"`
ResourceGroupID string `json:"resourceGroupId"`
StorageClusterID string `json:"storageClusterId"`
DiskTags map[string]string `json:"diskTags"`
NodeSelected string `json:"nodeSelected"`
DelAutoSnap string `json:"delAutoSnap"`
ARN []ecs.CreateDiskArn `json:"arn"`
VolumeSizeAutoAvailable bool `json:"volumeSizeAutoAvailable"`
ProvisionedIops int `json:"provisionedIops"`
BurstingEnabled bool `json:"burstingEnabled"`
Type string
RegionID string
ZoneID string
FsType string
ReadOnly bool
MultiAttach string
Encrypted bool
KMSKeyID string
PerformanceLevel string
ResourceGroupID string
StorageClusterID string
DiskTags map[string]string
NodeSelected string
DelAutoSnap string
ARN []ecs.CreateDiskArn
VolumeSizeAutoAvailable bool
ProvisionedIops int
BurstingEnabled bool
}

var veasp = struct {
Expand Down

0 comments on commit e7cea97

Please sign in to comment.