Skip to content

Commit b8ec0e7

Browse files
author
Ariel Kass
committed
resolving more wsl_v5 linter issues
Signed-off-by: Ariel Kass <[email protected]>
1 parent 8ac2461 commit b8ec0e7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkg/client/replication-client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ func (rc *replicationClient) PromoteVolume(replicationSource *replicationlib.Rep
109109

110110
createCtx, cancel := context.WithTimeout(context.Background(), rc.timeout)
111111
defer cancel()
112+
112113
resp, err := rc.client.PromoteVolume(createCtx, req)
113114

114115
return resp, err
@@ -127,6 +128,7 @@ func (rc *replicationClient) DemoteVolume(replicationSource *replicationlib.Repl
127128

128129
createCtx, cancel := context.WithTimeout(context.Background(), rc.timeout)
129130
defer cancel()
131+
130132
resp, err := rc.client.DemoteVolume(createCtx, req)
131133

132134
return resp, err

pkg/client/replication-client_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828

2929
func TestEnableVolumeReplication(t *testing.T) {
3030
t.Parallel()
31+
3132
mockedEnableReplication := &fake.ReplicationClient{
3233
EnableVolumeReplicationMock: func(_, _ string, _, _ map[string]string) (*replicationlib.EnableVolumeReplicationResponse, error) {
3334
return &replicationlib.EnableVolumeReplicationResponse{}, nil
@@ -52,6 +53,7 @@ func TestEnableVolumeReplication(t *testing.T) {
5253

5354
func TestDisableVolumeReplication(t *testing.T) {
5455
t.Parallel()
56+
5557
mockedDisableReplication := &fake.ReplicationClient{
5658
DisableVolumeReplicationMock: func(_, _ string, _, _ map[string]string) (*replicationlib.DisableVolumeReplicationResponse, error) {
5759
return &replicationlib.DisableVolumeReplicationResponse{}, nil

0 commit comments

Comments
 (0)