ceph / ceph-iscsi

Ceph iSCSI tools
GNU General Public License v3.0
63 stars 59 forks source link

Minor: gwcli: AttributeError: 'Settings' object has no attribute 'api_url' #233

Open HashFail opened 3 years ago

HashFail commented 3 years ago

When the API is down, gwcli attempts to report the error using a non-existent attribute settings.config.api_endpoint: https://github.com/ceph/ceph-iscsi/blob/master/gwcli.py#L108

HashFail commented 3 years ago

Think this should be localhost:{settings.config.api_port}