osm icon indicating copy to clipboard operation
osm copied to clipboard

osm stat command return incorrect URL for minio backend

Open hossainemruz opened this issue 7 years ago • 0 comments

Problem: I have a Minio server running on https://192.168.99.100:32733. It has a file deployment.yaml in bucket named external-bucket. When I run osm stat command to view the file statistics, it returns incorrect url for the file.

Observed behavior:

$ osm stat  -c external-bucket deployment.yaml
Found item deployment.yaml
URL = s3://external-bucket/deployment.yaml
Size = 1.6 kB
Last modified = 2018-11-30 10:29:35 +0000 UTC
Etag = 63607e8dfdfabe32dc55bb3511327406

Expected behaviour: osm should be aware of endpoint. It should return URL = https://192.168.99.100:32733/external-bucket/deployment.yaml

hossainemruz avatar Nov 30 '18 10:11 hossainemruz