Fix
Changed minioPopulator.py to ask required data though std::in instead of getting it from config
This commit is contained in:
@ -24,19 +24,19 @@ def upload_image(bucket_name, object_name, file_path):
|
|||||||
print(f'Error during MinIO operation: {e}')
|
print(f'Error during MinIO operation: {e}')
|
||||||
|
|
||||||
|
|
||||||
# print('Please enter your MinIO instance cloud address:')
|
print('Please enter your MinIO instance cloud address:')
|
||||||
# IS_address = input()
|
IS_address = input()
|
||||||
# print('Please enter MinIO access key:')
|
print('Please enter MinIO access key:')
|
||||||
# access_key = input()
|
access_key = input()
|
||||||
# print('Please enter MinIO secret key:')
|
print('Please enter MinIO secret key:')
|
||||||
# secret_key = input()
|
secret_key = input()
|
||||||
# print('Please enter bucket name:')
|
print('Please enter bucket name:')
|
||||||
# bucket = input()
|
bucket = input()
|
||||||
|
|
||||||
IS_address = config.IS_address
|
# IS_address = config.IS_address
|
||||||
access_key = config.acc_key
|
# access_key = config.acc_key
|
||||||
secret_key = config.sec_key
|
# secret_key = config.sec_key
|
||||||
bucket = config.bucket_name
|
# bucket = config.bucket_name
|
||||||
|
|
||||||
client = Minio(
|
client = Minio(
|
||||||
IS_address,
|
IS_address,
|
||||||
|
|||||||
Reference in New Issue
Block a user