From fd55f5498dee75c2c0c172255c28600100602a23 Mon Sep 17 00:00:00 2001 From: Aaron Alpar <55999015+aaron-kasten@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:42:25 -0800 Subject: [PATCH] chore(general): correct spelling --- cli/storage_s3.go | 4 ++-- repo/blob/storage.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/storage_s3.go b/cli/storage_s3.go index 7522851df..d3a74f786 100644 --- a/cli/storage_s3.go +++ b/cli/storage_s3.go @@ -49,8 +49,8 @@ func (c *storageS3Flags) Setup(svc StorageProviderServices, cmd *kingpin.CmdClau cmd.Flag("point-in-time", "Use a point-in-time view of the storage repository when supported").PlaceHolder(time.RFC3339).PreAction(pitPreAction).StringVar(&pointInTimeStr) - cmd.Flag("root-ca-pem-base64", "Certficate authority in-line (base64 enc.)").Envar(svc.EnvName("ROOT_CA_PEM_BASE64")).PreAction(c.preActionLoadPEMBase64).StringVar(&c.rootCaPemBase64) - cmd.Flag("root-ca-pem-path", "Certficate authority file path").PreAction(c.preActionLoadPEMPath).StringVar(&c.rootCaPemPath) + cmd.Flag("root-ca-pem-base64", "Certificate authority in-line (base64 enc.)").Envar(svc.EnvName("ROOT_CA_PEM_BASE64")).PreAction(c.preActionLoadPEMBase64).StringVar(&c.rootCaPemBase64) + cmd.Flag("root-ca-pem-path", "Certificate authority file path").PreAction(c.preActionLoadPEMPath).StringVar(&c.rootCaPemPath) } func (c *storageS3Flags) preActionLoadPEMPath(_ *kingpin.ParseContext) error { diff --git a/repo/blob/storage.go b/repo/blob/storage.go index d420a6360..68483ca5f 100644 --- a/repo/blob/storage.go +++ b/repo/blob/storage.go @@ -71,7 +71,7 @@ type Capacity struct { // Volume defines disk/volume access API to blob storage. type Volume interface { - // Capacity returns the capacity of a given volume. + // GetCapacity returns the capacity of a given volume. GetCapacity(ctx context.Context) (Capacity, error) } @@ -94,7 +94,7 @@ type Reader interface { // connect to storage. ConnectionInfo() ConnectionInfo - // Name of the storage used for quick identification by humans. + // DisplayName Name of the storage used for quick identification by humans. DisplayName() string }