Skip to content

Commit c282929

Browse files
committed
Fix spelling in comments and constant
Signed-off-by: Tony Asleson <[email protected]>
1 parent 807da53 commit c282929

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

data.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ const (
211211
// PoolUnsupportedVolumeGrow this pool does not allow growing volumes
212212
PoolUnsupportedVolumeGrow PoolUnsupportedType = 1 << iota
213213

214-
// PoolUnsupportedVolumeShink this pool does not allow shrinking volumes
215-
PoolUnsupportedVolumeShink
214+
// PoolUnsupportedVolumeShrink this pool does not allow shrinking volumes
215+
PoolUnsupportedVolumeShrink
216216
)
217217

218218
// PoolStatusType type used to describe the status of pool
@@ -405,7 +405,7 @@ const (
405405
//DiskStatusRemoved Disk was removed by administrator
406406
DiskStatusRemoved
407407

408-
// DiskStatusStarting Disk is in the process of becomming ready.
408+
// DiskStatusStarting Disk is in the process of becoming ready.
409409
DiskStatusStarting
410410

411411
// DiskStatusStopping Disk is shutting down.
@@ -414,7 +414,7 @@ const (
414414
// DiskStatusStopped Disk is stopped by administrator.
415415
DiskStatusStopped
416416

417-
// DiskStatusInitializing Disk is not yet functional, could be initializing eg. RAID, zeroed or scrubed etc.
417+
// DiskStatusInitializing Disk is not yet functional, could be initializing eg. RAID, zeroed or scrubbed etc.
418418
DiskStatusInitializing
419419

420420
// DiskStatusMaintenanceMode In maintenance for bad sector scan, integrity check and etc
@@ -699,10 +699,10 @@ const (
699699
// CapAgsGrantedToVol list access groups with access to volume
700700
CapAgsGrantedToVol CapabilityType = 44
701701

702-
// CapHasChildDep indicates support for determing if volume has child dep.
702+
// CapHasChildDep indicates support for determining if volume has child dep.
703703
CapHasChildDep CapabilityType = 45
704704

705-
// CapChildDepRm indiates support for removing child dep.
705+
// CapChildDepRm indicates support for removing child dep.
706706
CapChildDepRm CapabilityType = 46
707707

708708
// CapAccessGroupCreateIscsiIqn supports ag creating with iSCSI initiator

test/lsm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ func TestPoolElementType(t *testing.T) {
13901390

13911391
func TestPoolUnsupportedType(t *testing.T) {
13921392
assert.Equal(t, lsm.PoolUnsupportedType(1<<0), lsm.PoolUnsupportedVolumeGrow)
1393-
assert.Equal(t, lsm.PoolUnsupportedType(1<<1), lsm.PoolUnsupportedVolumeShink)
1393+
assert.Equal(t, lsm.PoolUnsupportedType(1<<1), lsm.PoolUnsupportedVolumeShrink)
13941394
}
13951395

13961396
func TestPoolStatusType(t *testing.T) {

0 commit comments

Comments
 (0)