Skip to content

osm stat command return incorrect URL for minio backend #39

@hossainemruz

Description

@hossainemruz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions