mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 21:28:09 +02:00
fix: rename module to github.com/zalando/postgres-operator/v2 (#3156)
* fix: rename module to github.com/zalando/postgres-operator/v2 Upgrade performed using https://github.com/icholy/gomajor ``` gomajor path -version v2 ``` Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> * fix: make fmt Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> * fix: adjust codegen module name Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> --------- Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com> Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
committed by
Felix Kunde
co-authored by
Felix Kunde
parent
00f75115e0
commit
6138bc4a69
@@ -10,8 +10,8 @@ import (
|
||||
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
|
||||
"github.com/zalando/postgres-operator/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/pkg/util/retryutil"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/constants"
|
||||
"github.com/zalando/postgres-operator/v2/pkg/util/retryutil"
|
||||
)
|
||||
|
||||
// EBSVolumeResizer implements volume resizing interface for AWS EBS volumes.
|
||||
|
||||
@@ -2,9 +2,9 @@ package volumes
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetProviderVolumeID(t *testing.T) {
|
||||
@@ -88,7 +88,7 @@ func TestVolumeBelongsToProvider(t *testing.T) {
|
||||
name: "AWS EBS volume handle",
|
||||
pv: &v1.PersistentVolume{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Annotations: map[string]string {
|
||||
Annotations: map[string]string{
|
||||
"pv.kubernetes.io/provisioned-by": "kubernetes.io/aws-ebs",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user