Skip to content

Commit 2de2b7f

Browse files
committed
fixup: linter fix and fix comments
1 parent 9ca9368 commit 2de2b7f

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

internal/controller/standalone_pgadmin/service.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ import (
2525

2626
apierrors "k8s.io/apimachinery/pkg/api/errors"
2727

28+
"github.com/pkg/errors"
29+
2830
"github.com/crunchydata/postgres-operator/internal/logging"
2931
"github.com/crunchydata/postgres-operator/internal/naming"
3032
"github.com/crunchydata/postgres-operator/pkg/apis/postgres-operator.crunchydata.com/v1beta1"
31-
"github.com/pkg/errors"
3233
)
3334

3435
// +kubebuilder:rbac:groups="",resources="services",verbs={get}

testing/kuttl/e2e/standalone-pgadmin-service/10--manual-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Manually create a service that should be taken over by pgAdmin
22
# The manual service is of type LoadBalancer
3-
# Cnce taken over, the type should change to ClusterIP
3+
# Once taken over, the type should change to ClusterIP
44
apiVersion: v1
55
kind: Service
66
metadata:

testing/kuttl/e2e/standalone-pgadmin-service/21-assert.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ spec:
2121
name: pgadmin-port
2222
type: ClusterIP
2323
---
24+
# An event should be created for the failure to reconcile the Service
2425
apiVersion: v1
2526
involvedObject:
2627
apiVersion: postgres-operator.crunchydata.com/v1beta1

0 commit comments

Comments
 (0)