Skip to content

Commit

Permalink
client.go: set volume as usable when in migrating state
Browse files Browse the repository at this point in the history
when volume is in Migrating it is fully usable to consume (like
Avaiable)

issue: LBM1-21393
  • Loading branch information
yogev-lb committed Aug 29, 2022
1 parent fea1938 commit acf9d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ type Volume struct {
}

func (v *Volume) IsAccessible() bool {
return v.State == VolumeAvailable || v.State == VolumeUpdating
return v.State == VolumeAvailable || v.State == VolumeUpdating || v.State == VolumeMigrating
}

func (v *Volume) IsWritable() bool {
Expand Down

0 comments on commit acf9d1d

Please sign in to comment.