Deperate tacker command lines
Since openstack tacker plugins are almost done, it is time to deprecate the tacker command lines. test paste log http://paste.openstack.org/show/699593/ Closes-bug: #1755443 Change-Id: I0c233f5f3003a50a6b76d6729c4d228cbba182a7
This commit is contained in:
		| @@ -14,6 +14,8 @@ | ||||
| #    under the License. | ||||
| # | ||||
|  | ||||
| from sys import stderr | ||||
|  | ||||
| from cliff import command | ||||
|  | ||||
|  | ||||
| @@ -23,6 +25,8 @@ class OpenStackCommand(command.Command): | ||||
|     api = None | ||||
|  | ||||
|     def run(self, parsed_args): | ||||
|         stderr.write("Deprecated: tacker command line is deprecated, " | ||||
|                      "will be deleted after Rocky is released.\n") | ||||
|         if not self.api: | ||||
|             return | ||||
|         else: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 gongysh
					gongysh