From e7420eb69050facbeb9f75f7e5fc41d25b83610e Mon Sep 17 00:00:00 2001 From: Damian Debkowski Date: Thu, 25 May 2023 21:51:12 -0700 Subject: [PATCH] fix(plugin): correct spelling mistake --- internal/plugin/loopback/options.go | 2 +- internal/plugin/loopback/storage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/plugin/loopback/options.go b/internal/plugin/loopback/options.go index aed9ed7e92..d0f184df19 100644 --- a/internal/plugin/loopback/options.go +++ b/internal/plugin/loopback/options.go @@ -39,7 +39,7 @@ const ( ) const ( - defaultStreamChunckSize = 8 + defaultStreamChunkSize = 8 ) // PluginMockError is used to mock an error when interacting with an external object store. diff --git a/internal/plugin/loopback/storage.go b/internal/plugin/loopback/storage.go index ec48b21d2b..298e0034b8 100644 --- a/internal/plugin/loopback/storage.go +++ b/internal/plugin/loopback/storage.go @@ -286,7 +286,7 @@ func (l *LoopbackStorage) getObject(req *plgpb.GetObjectRequest, stream plgpb.St go func() { chunkSize := req.GetChunkSize() if chunkSize == 0 { - chunkSize = defaultStreamChunckSize + chunkSize = defaultStreamChunkSize } data := []byte{} for _, chunk := range object.DataChunks {