Skip to content

Commit 31b2cb2

Browse files
authored
fix(instance): expose the attaching state to help the Console team (scaleway#2726)
1 parent 1d3cdbf commit 31b2cb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/instance/v1/instance_sdk.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,7 @@ const (
11511151
VolumeStateSnapshotting = VolumeState("snapshotting")
11521152
VolumeStateFetching = VolumeState("fetching")
11531153
VolumeStateSaving = VolumeState("saving")
1154+
VolumeStateAttaching = VolumeState("attaching")
11541155
VolumeStateResizing = VolumeState("resizing")
11551156
VolumeStateHotsyncing = VolumeState("hotsyncing")
11561157
VolumeStateError = VolumeState("error")
@@ -1170,6 +1171,7 @@ func (enum VolumeState) Values() []VolumeState {
11701171
"snapshotting",
11711172
"fetching",
11721173
"saving",
1174+
"attaching",
11731175
"resizing",
11741176
"hotsyncing",
11751177
"error",

0 commit comments

Comments
 (0)