chore(general): correct spelling

This commit is contained in:
Aaron Alpar
2023-11-28 12:42:25 -08:00
committed by GitHub
parent 6d16aa9c5a
commit fd55f5498d
2 changed files with 4 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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
}