Swift CLI shows stack traces while segement_size is in a string
Bug #1244506 reported by
Hugo Kou
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Mahati Chamarthy |
Bug Description
$> swift upload test -S 5G abc.img
Traceback (most recent call last):
File "/home/
result = self.func(item, *self.args, **self.kwargs)
File "/home/
getsize(path) > int(options.
ValueError: invalid literal for int() with base 10: '5G'
Should it be a clear error msg for better user experience?
tags: | added: low-hanging-fruit |
Changed in swift: | |
assignee: | nobody → Mahati (mahati-chamarthy) |
Changed in swift: | |
milestone: | none → 2.2.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Submitted patch: https:/ /review. openstack. org/#/c/ 125275/