Skip to content

Commit

Permalink
Add DiskError status
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Aug 17, 2022
1 parent efbc3d0 commit 4aa6215
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const (
DiskAvailable DiskStatus = "Available"
DiskAttached DiskStatus = "Attached"
DiskDeleting DiskStatus = "Deleting"
DiskError DiskStatus = "Error"
)

//-------- Info Structure
Expand All @@ -30,7 +31,7 @@ type DiskInfo struct {
DiskType string // "", "SSD(gp2)", "Premium SSD", ...
DiskSize string // "", "default", "50", "1000" # (GB)

Status DiskStatus // DiskCreating | DiskAvailable | DiskAttached | DiskDeleting
Status DiskStatus // DiskCreating | DiskAvailable | DiskAttached | DiskDeleting | DiskError
OwnerVM IID // When the Status is DiskAttached

CreatedTime time.Time
Expand Down

0 comments on commit 4aa6215

Please sign in to comment.