Redundant code in storage_backend API
Bug #1836678 reported by
junboli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
junboli |
Bug Description
Brief Description
-----------------
The base code already provide storage_ceph, storage_lvm, storage_file..., and
already returned by bellow code:
'return _patch(
So, after the return code, there is no use and we don't need keep those code again.
Severity
--------
Major
Steps to Reproduce
------------------
Just remove those dead code.
Changed in starlingx: | |
assignee: | nobody → junboli (junboli) |
Changed in starlingx: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/668583 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=0e625db2b13 c42aba04e8e9424 f1a1aaeacd8886
Committed: https:/
Submitter: Zuul
Branch: master
commit 0e625db2b13c42a ba04e8e9424f1a1 aaeacd8886
Author: lijunbo <email address hidden>
Date: Mon Jul 15 23:08:29 2019 -0400
Cleanup dead code in storage_backend.py
The base code already provide storage_ceph, storage_ backend_ uuid, patch)'
storage_lvm, storage_file..., and already
returned by bellow code:
'return _patch(
So, after the return code, there is no use and
we don't need keep those code again.
Closes-bug: #1836678 a40205da5d26d26 de150e326a7
Change-Id: Ia83e674688b583
Signed-off-by: junboli <email address hidden>