File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,9 @@ void SupportedFsS3::prepare_config(
169169 [[maybe_unused]] tiledb_config_t * config,
170170 [[maybe_unused]] tiledb_error_t * error) {
171171#ifndef TILEDB_TESTS_AWS_S3_CONFIG
172+ if (rest_) {
173+ return ;
174+ }
172175 REQUIRE (
173176 tiledb_config_set (
174177 config, " vfs.s3.endpoint_override" , " localhost:9999" , &error) ==
@@ -186,7 +189,9 @@ void SupportedFsS3::prepare_config(
186189}
187190
188191void SupportedFsS3::init (tiledb_ctx_t * ctx, tiledb_vfs_t * vfs) {
189- Status SupportedFsS3::init (tiledb_ctx_t * ctx, tiledb_vfs_t * vfs) {
192+ if (rest_) {
193+ return ;
194+ }
190195 int is_bucket = 0 ;
191196 int rc = tiledb_vfs_is_bucket (ctx, vfs, s3_bucket_.c_str (), &is_bucket);
192197 REQUIRE (rc == TILEDB_OK);
@@ -210,7 +215,9 @@ Status SupportedFsS3::init(tiledb_ctx_t* ctx, tiledb_vfs_t* vfs) {
210215}
211216
212217void SupportedFsS3::close (tiledb_ctx_t * ctx, tiledb_vfs_t * vfs) {
213- Status SupportedFsS3::close (tiledb_ctx_t * ctx, tiledb_vfs_t * vfs) {
218+ if (rest_) {
219+ return ;
220+ }
214221 int is_bucket = 0 ;
215222 int rc = tiledb_vfs_is_bucket (ctx, vfs, s3_bucket_.c_str (), &is_bucket);
216223 CHECK (rc == TILEDB_OK);
You can’t perform that action at this time.
0 commit comments