Ravi Nori has uploaded a new change for review. Change subject: cli: Error type "brick" does not exist." on replace brick ......................................................................
cli: Error type "brick" does not exist." on replace brick When trying to perform replace-brick operation from the ovirt-shell we get an error message error: type "brick" does not exist. Change-Id: Iff900ec7e7ea8ebde3914ac28e5f72b426cf6544 Bug-Url: https://bugzilla.redhat.com/923196 Signed-off-by: Ravi Nori <rn...@redhat.com> --- M src/ovirtcli/command/action.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/35/13935/1 diff --git a/src/ovirtcli/command/action.py b/src/ovirtcli/command/action.py index 4b3ff67..257549e 100644 --- a/src/ovirtcli/command/action.py +++ b/src/ovirtcli/command/action.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2010 Red Hat, Inc. +# copyright (c) 2010 red hat, inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -161,7 +161,7 @@ args = self.arguments opts = self.options - if not (TypeHelper.isKnownType(args[0])): + if not (TypeHelper.isKnownType(args[0])) and ParseHelper.getXmlType(args[0]) == None: self.error(Messages.Error.NO_SUCH_TYPE % args[0]) scope = '%s:%s' % (ParseHelper.getXmlWrapperType(args[0]), args[2]) -- To view, visit http://gerrit.ovirt.org/13935 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iff900ec7e7ea8ebde3914ac28e5f72b426cf6544 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: master Gerrit-Owner: Ravi Nori <rn...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches