Skip to content

Commit fc10c27

Browse files
authored
fix(ci): update MinIO client command syntax for download-product task (#693)
- Replace deprecated 'mc config host add' with 'mc alias set' - Fixes CI pipeline failure caused by upstream MinIO client breaking change The 'mc config' command was removed in minio/mc#5201, requiring migration to 'mc alias set' syntax for newer MinIO client versions. Resolves: CI pipeline failure in download-product task Signed-off-by: Sanjit Mohanty <[email protected]>
1 parent 06a6693 commit fc10c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acceptance/init_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var _ = SynchronizedBeforeSuite(func() []byte {
4444
Expect(err).ToNot(HaveOccurred())
4545

4646
Eventually(minio.Err, "10s").Should(gbytes.Say("API:"))
47-
runCommand("mc", "--debug", "config", "host", "add", "testing", "http://127.0.0.1:9001", "minio", "password")
47+
runCommand("mc", "--debug", "alias", "set", "testing", "http://127.0.0.1:9001", "minio", "password")
4848
}
4949
return []byte(omPath)
5050
}, func(data []byte) {

0 commit comments

Comments
 (0)