Use RpcResult.Warn where appropriate the cmdlib
authorKlaus Aehlig <aehlig@google.com>
Tue, 4 Jun 2013 16:11:39 +0000 (18:11 +0200)
committerKlaus Aehlig <aehlig@google.com>
Wed, 5 Jun 2013 11:28:08 +0000 (13:28 +0200)
commitc7dd65be4cf4c142091d012836d510eb439c3583
treed540962656086f04402845cd85f692a98b5d56ce
parent95e7e85e7678e0d48230f2c53193b3db260c6d08
Use RpcResult.Warn where appropriate the cmdlib

To avoid repetitive code, make use of the functionality factored
out to the Warn method of RpcResult.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/cmdlib/cluster.py
lib/cmdlib/instance.py
lib/cmdlib/instance_storage.py
lib/cmdlib/node.py