mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixos/minio: replace deprecated mc config host command
This commit is contained in:
parent
dcd99fdf96
commit
c793c51b88
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ in
|
|||
|
||||
# Create a test bucket on the server
|
||||
machine.succeed(
|
||||
"mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
"mc alias set minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
)
|
||||
machine.succeed("mc mb minio/test-bucket")
|
||||
machine.succeed("${minioPythonScript}")
|
||||
|
@ -101,7 +101,7 @@ in
|
|||
|
||||
# Create a test bucket on the server
|
||||
machine.succeed(
|
||||
"mc config host add minio https://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
"mc alias set minio https://localhost:9000 ${accessKey} ${secretKey} --api s3v4"
|
||||
)
|
||||
machine.succeed("mc --insecure mb minio/test-bucket")
|
||||
machine.succeed("${minioPythonScript} tls")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue