Skip to content

Commit c4e01a3

Browse files
authored
Merge pull request #2147 from truenas/se/typos
incusd: Fix some trivial typos
2 parents 67766fc + 769a566 commit c4e01a3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

internal/server/storage/drivers/driver_zfs_volumes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3259,7 +3259,7 @@ func (d *zfs) UnmountVolumeSnapshot(snapVol Volume, op *operations.Operation) (b
32593259

32603260
// For block devices, we make them disappear.
32613261
if snapVol.contentType == ContentTypeBlock || snapVol.contentType == ContentTypeFS && d.isBlockBacked(snapVol) {
3262-
// For VMs, also mount the filesystem dataset.
3262+
// For VMs, also unmount the filesystem dataset.
32633263
if snapVol.IsVMBlock() {
32643264
fsSnapVol := snapVol.NewVMBlockFilesystemVolume()
32653265
ourUnmount, err = d.UnmountVolumeSnapshot(fsSnapVol, op)

internal/server/storage/drivers/volume.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const VolumeTypeVM = VolumeType("virtual-machines")
7272
// ContentType indicates the format of the volume.
7373
type ContentType string
7474

75-
// ContentTypeFS indicates the volume will be populated with a mountabble filesystem.
75+
// ContentTypeFS indicates the volume will be populated with a mountable filesystem.
7676
const ContentTypeFS = ContentType("filesystem")
7777

7878
// ContentTypeBlock indicates the volume will be a block device and its contents and we do not

shared/api/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ type ResourcesStoragePool struct {
784784
// Disk space usage
785785
Space ResourcesStoragePoolSpace `json:"space,omitempty" yaml:"space,omitempty"`
786786

787-
// DIsk inode usage
787+
// Disk inode usage
788788
Inodes ResourcesStoragePoolInodes `json:"inodes,omitempty" yaml:"inodes,omitempty"`
789789
}
790790

0 commit comments

Comments
 (0)