jp (pubsub/delete): show deleted node + handle URIs
This commit is contained in:
parent
8a71ea34b9
commit
bfc27d68dd
1 changed files with 2 additions and 1 deletions
|
|
@ -130,10 +130,11 @@ class NodeDelete(base.CommandBase):
|
|||
self.parser.add_argument('-f', '--force', action='store_true', help=_(u'delete node without confirmation'))
|
||||
|
||||
def psNodeDeleteCb(self):
|
||||
self.disp(_(u'node deleted successfully'))
|
||||
self.disp(_(u'node [{node}] deleted successfully').format(node=self.args.node))
|
||||
self.host.quit()
|
||||
|
||||
def start(self):
|
||||
common.checkURI(self.args)
|
||||
if not self.args.force:
|
||||
if not self.args.service:
|
||||
message = _(u"Are you sure to delete pep node [{node_id}] ?").format(
|
||||
|
|
|
|||
Loading…
Reference in a new issue