summaryrefslogtreecommitdiff
path: root/openstackclient/image
diff options
context:
space:
mode:
authorAkihiro Motoki <motoki@da.jp.nec.com>2016-01-09 13:43:36 +0900
committerAkihiro Motoki <motoki@da.jp.nec.com>2016-01-20 22:02:19 +0900
commit50d54bb007c2531013e9b7ae358737dcc19c519b (patch)
treed76602a9cbc6aaa3131c554858352c9cfa0c5e63 /openstackclient/image
parent0e6b86ad94819fcb7bf20e3368b86a504d6c6702 (diff)
downloadpython-openstackclient-50d54bb007c2531013e9b7ae358737dcc19c519b.tar.gz
log_method: get logger from decorated method if unspecified
This commit makes 'log' optional. 'log' attribute of each command class does not exist when the class is defined because 'log' is now setup dynamically when a class is instantiated. Instead log_method looks for a logger from a decorating method. compute.v2.server is changed in this commit as an example. Change-Id: Ic4d128f8e027d3b8e6f884f31369e9085c0f0871 Partial-Bug: #1532294
Diffstat (limited to 'openstackclient/image')
0 files changed, 0 insertions, 0 deletions