Rename 'gcs' to 'gs' for consistency

This commit is contained in:
Ben Johnson
2022-03-05 11:12:29 -07:00
parent 8ee5fcb591
commit 07d220028a
7 changed files with 36 additions and 36 deletions

View File

@@ -52,12 +52,12 @@ func NewReplicaClient() *ReplicaClient {
}
}
// Type returns "gcs" as the client type.
// Type returns "sftp" as the client type.
func (c *ReplicaClient) Type() string {
return ReplicaClientType
}
// Init initializes the connection to GCS. No-op if already initialized.
// Init initializes the connection to SFTP. No-op if already initialized.
func (c *ReplicaClient) Init(ctx context.Context) (_ *sftp.Client, err error) {
c.mu.Lock()
defer c.mu.Unlock()