Skip to content

Commit

Permalink
Merge pull request #998 from apophys/minio-client-name
Browse files Browse the repository at this point in the history
incus/s3: Fix mcli minio client executable name check
  • Loading branch information
stgraber authored Jul 15, 2024
2 parents 82e9581 + cb2c5aa commit a79c35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/storage/s3/miniod/admin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *AdminClient) isMinIOClient() bool {
return false
}

if !strings.Contains(lines[0], "mc version") {
if !strings.Contains(lines[0], "mc version") && !strings.Contains(lines[0], "mcli version") {
return false
}

Expand Down

0 comments on commit a79c35d

Please sign in to comment.