diff --git a/go/libraries/doltcore/dbfactory/aws.go b/go/libraries/doltcore/dbfactory/aws.go index 1c4322df5f..d6a802f425 100644 --- a/go/libraries/doltcore/dbfactory/aws.go +++ b/go/libraries/doltcore/dbfactory/aws.go @@ -17,7 +17,6 @@ package dbfactory import ( "context" "errors" - "fmt" "net/url" "os" "strings" @@ -109,7 +108,8 @@ type AWSFactory struct { } func (fact AWSFactory) PrepareDB(ctx context.Context, nbf *types.NomsBinFormat, urlObj *url.URL, params map[string]interface{}) error { - return fmt.Errorf("aws scheme cannot support this operation") + // nothing to prepare + return nil } // CreateDB creates an AWS backed database diff --git a/go/libraries/doltcore/dbfactory/gs.go b/go/libraries/doltcore/dbfactory/gs.go index cfebd54823..24bd9a28db 100644 --- a/go/libraries/doltcore/dbfactory/gs.go +++ b/go/libraries/doltcore/dbfactory/gs.go @@ -34,7 +34,8 @@ type GSFactory struct { } func (fact GSFactory) PrepareDB(ctx context.Context, nbf *types.NomsBinFormat, urlObj *url.URL, params map[string]interface{}) error { - return fmt.Errorf("gs scheme cannot support this operation") + // nothing to prepare + return nil } // CreateDB creates an GCS backed database