fix: make fmt
Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com>
This commit is contained in:
parent
dcbe0225cb
commit
5c0c826751
|
|
@ -17,7 +17,7 @@ const (
|
||||||
resize2fs = "resize2fs"
|
resize2fs = "resize2fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
//Ext234Resize implements the FilesystemResizer interface for the ext4/3/2fs.
|
// Ext234Resize implements the FilesystemResizer interface for the ext4/3/2fs.
|
||||||
type Ext234Resize struct {
|
type Ext234Resize struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@ package volumes
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
|
||||||
v1 "k8s.io/api/core/v1"
|
v1 "k8s.io/api/core/v1"
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGetProviderVolumeID(t *testing.T) {
|
func TestGetProviderVolumeID(t *testing.T) {
|
||||||
|
|
@ -88,7 +88,7 @@ func TestVolumeBelongsToProvider(t *testing.T) {
|
||||||
name: "AWS EBS volume handle",
|
name: "AWS EBS volume handle",
|
||||||
pv: &v1.PersistentVolume{
|
pv: &v1.PersistentVolume{
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Annotations: map[string]string {
|
Annotations: map[string]string{
|
||||||
"pv.kubernetes.io/provisioned-by": "kubernetes.io/aws-ebs",
|
"pv.kubernetes.io/provisioned-by": "kubernetes.io/aws-ebs",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue