Skip to content

Commit 4956a66

Browse files
committed
PR Review
1 parent eecafba commit 4956a66

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

api/compute/v1alpha1/machine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ type EmptyDiskVolumeSource struct {
130130
// Usually ephemeral (i.e. deleted when the surrounding entity is deleted), with
131131
// varying performance characteristics. Potentially not recoverable.
132132
type LocalDiskVolumeSource struct {
133-
// SizeLimit is the total amount of local storage required for this EmptyDisk volume.
133+
// SizeLimit is the total amount of local storage required for this LocalDisk volume.
134134
// The default is nil which means that the limit is undefined.
135135
SizeLimit *resource.Quantity `json:"sizeLimit,omitempty"`
136136
// Image is the optional URL providing the operating system image of the machine.

broker/machinebroker/server/machine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (s *Server) convertIronCoreVolume(
149149
},
150150
}
151151
default:
152-
return nil, fmt.Errorf("machine volume %#v does neither specify volume ref nor empty disk, nor local disk", ironcoreMachineVolume)
152+
return nil, fmt.Errorf("machine volume %#v does neither specify volume ref nor local disk", ironcoreMachineVolume)
153153
}
154154

155155
return &iri.Volume{

broker/machinebroker/server/machine_volume_detach.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (s *Server) DetachVolume(ctx context.Context, req *iri.DetachVolumeRequest)
5656
return nil, fmt.Errorf("error deleting ironcore volume %s: %w", ironcoreVolumeName, err)
5757
}
5858
case ironcoreMachineVolume.LocalDisk != nil:
59-
log.V(1).Info("No need to clean up empty disk")
59+
log.V(1).Info("No need to clean up local disk")
6060
default:
6161
return nil, fmt.Errorf("unrecognized ironcore machine volume %#v", ironcoreMachineVolume)
6262
}

internal/apis/compute/machine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ type EmptyDiskVolumeSource struct {
118118
// Usually ephemeral (i.e. deleted when the surrounding entity is deleted), with
119119
// varying performance characteristics. Potentially not recoverable.
120120
type LocalDiskVolumeSource struct {
121-
// SizeLimit is the total amount of local storage required for this EmptyDisk volume.
121+
// SizeLimit is the total amount of local storage required for this LocalDisk volume.
122122
// The default is nil which means that the limit is undefined.
123123
SizeLimit *resource.Quantity
124124
// Image is the optional URL providing the operating system image of the machine.

0 commit comments

Comments
 (0)