Skip to content

Commit

Permalink
Close pgMetadata connection for S3
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Nov 19, 2023
1 parent 085425a commit 8b44029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flow/connectors/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ func (c *S3Connector) InitializeTableSchema(req map[string]*protos.TableSchema)
}

func (c *S3Connector) Close() error {
log.Debugf("Closing s3 connector is a noop")
return nil
log.Debugf("Closing metadata store connection")
return c.pgMetadata.Close()
}

func ValidCheck(s3Client *s3.S3, bucketURL string, metadataDB *metadataStore.PostgresMetadataStore) error {
Expand Down

0 comments on commit 8b44029

Please sign in to comment.