Skip to content

Commit 79f8893

Browse files
committed
rpc: fix gofmt error
Both gofmt 1.11.1 and 1.12.1 flagged this as a formatting error. We can't just update the code yet, because the current pre-merge check in Prow still uses Go 1.10.1.
1 parent 2f3433d commit 79f8893

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rpc/common_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ func TestGetPluginCapabilities(t *testing.T) {
241241
defer os.RemoveAll(tmp)
242242
identity := &fakeIdentityServer{
243243
getPluginCapabilitiesResponse: test.output,
244+
245+
// Make code compatible with gofmt 1.10.2 (used by pull-sig-storage-csi-lib-utils-stable)
246+
// and 1.11.1 (which will be used by new Prow job) via an extra blank line.
244247
err: injectedErr,
245248
}
246249
addr, stopServer := startServer(t, tmp, identity, nil)
@@ -366,6 +369,9 @@ func TestGetControllerCapabilities(t *testing.T) {
366369
defer os.RemoveAll(tmp)
367370
controller := &fakeControllerServer{
368371
controllerGetCapabilitiesResponse: test.output,
372+
373+
// Make code compatible with gofmt 1.10.2 (used by pull-sig-storage-csi-lib-utils-stable)
374+
// and 1.11.1 (which will be used by new Prow job) via an extra blank line.
369375
err: injectedErr,
370376
}
371377
addr, stopServer := startServer(t, tmp, nil, controller)

0 commit comments

Comments
 (0)