You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running minio locally for testing the default setup is to use http. The object_store crate supports this setup, however one of the required symbols is not exported.
To Reproduce
In order to connect with minio over http you'd use code similar to the following
use object_store::AmazonS3ConfigKey as Key;
use object_store::ClientConfigKey; // <- export missing
use object_store::aws::AmazonS3Builder;
def foo() {
let out builder = AmazonS3Builder().new();
builder = builder.with_config(Key::AccessKeyId, &cred.access_key.unwrap());
builder = builder.with_config(Key::SecretAccessKey, &cred.secret_key.unwrap());
builder = builder.with_config(Key::Client(ClientConfigKey::AllowHttp), &"true".into());
builder = builder.with_config(Key::Endpoint, &"http://localhost:9000".into()));
}
Expected behavior
The code should compile, but it does not because of the private ClientConfigKey.
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When running minio locally for testing the default setup is to use http. The object_store crate supports this setup, however one of the required symbols is not exported.
To Reproduce
In order to connect with minio over http you'd use code similar to the following
Expected behavior
The code should compile, but it does not because of the private ClientConfigKey.
Additional context
The text was updated successfully, but these errors were encountered: