Skip to content

Commit

Permalink
Update instances.go
Browse files Browse the repository at this point in the history
  • Loading branch information
JarcauCristian authored Mar 18, 2024
1 parent 93d1ed5 commit 0849f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ func NewMinIO() (*MinIO, error) {
clients[line.Site] = minioClient
tokens[line.Site] = line.Token

cmd := exec.Command("./mc", "alias", "set", line.Alias, line.Site, string(accessKey), string(secretKey))
cmd := exec.Command("mc", "alias", "set", line.Alias, line.Site, string(accessKey), string(secretKey))
if err = cmd.Run(); err != nil {
fmt.Println(err)
return nil, err
Expand Down

0 comments on commit 0849f6f

Please sign in to comment.