Skip to content

Commit e870ffa

Browse files
author
Ariel Kass
committed
fixing more gofumpt issues
Signed-off-by: Ariel Kass <[email protected]>
1 parent 38756ad commit e870ffa

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

controllers/pvc.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ import (
3030
//
3131
//nolint:gocritic
3232
func (r VolumeReplicationReconciler) getPVCDataSource(ctx context.Context, logger logr.Logger, req types.NamespacedName) (
33-
*corev1.PersistentVolumeClaim, *corev1.PersistentVolume, error) {
33+
*corev1.PersistentVolumeClaim, *corev1.PersistentVolume, error,
34+
) {
3435
pvc := &corev1.PersistentVolumeClaim{}
3536
err := r.Client.Get(ctx, req, pvc)
3637
if err != nil {

controllers/vg.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ import (
2929
//
3030
//nolint:gocritic
3131
func (r VolumeReplicationReconciler) getVGDataSource(ctx context.Context, logger logr.Logger, req types.NamespacedName) (
32-
*volumegroupv1.VolumeGroup, *volumegroupv1.VolumeGroupContent, error) {
32+
*volumegroupv1.VolumeGroup, *volumegroupv1.VolumeGroupContent, error,
33+
) {
3334
vg := &volumegroupv1.VolumeGroup{}
3435
err := r.Client.Get(ctx, req, vg)
3536
if err != nil {

pkg/client/replication-client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ type VolumeReplication interface {
3434
// EnableVolumeReplication RPC call to enable the volume replication.
3535
EnableVolumeReplication(replicationSource *replicationlib.ReplicationSource,
3636
replicationID string, secrets, parameters map[string]string) (
37-
*replicationlib.EnableVolumeReplicationResponse, error)
37+
*replicationlib.EnableVolumeReplicationResponse, error)
3838
// DisableVolumeReplication RPC call to disable the volume replication.
3939
DisableVolumeReplication(replicationSource *replicationlib.ReplicationSource,
4040
replicationID string, secrets, parameters map[string]string) (
41-
*replicationlib.DisableVolumeReplicationResponse, error)
41+
*replicationlib.DisableVolumeReplicationResponse, error)
4242
// PromoteVolume RPC call to promote the volume.
4343
PromoteVolume(replicationSource *replicationlib.ReplicationSource, replicationID string,
4444
force bool, secrets, parameters map[string]string) (
45-
*replicationlib.PromoteVolumeResponse, error)
45+
*replicationlib.PromoteVolumeResponse, error)
4646
// DemoteVolume RPC call to demote the volume.
4747
DemoteVolume(replicationSource *replicationlib.ReplicationSource, replicationID string,
4848
secrets, parameters map[string]string) (*replicationlib.DemoteVolumeResponse, error)

0 commit comments

Comments
 (0)