diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-03-26 09:47:26 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-03-26 09:47:26 -0400 |
| commit | 2b3e3685ff45ad0662c1bffc8896261eaa6cfbcc (patch) | |
| tree | 97f122a49fdc77c162805ffcf4991d053a56b2b8 /nova/openstack | |
| parent | 129150c853c635b28238b2ac6bd3193c453b08a7 (diff) | |
| download | nova-2b3e3685ff45ad0662c1bffc8896261eaa6cfbcc.tar.gz nova-2b3e3685ff45ad0662c1bffc8896261eaa6cfbcc.tar.xz nova-2b3e3685ff45ad0662c1bffc8896261eaa6cfbcc.zip | |
Improve performance of safe_log().
This patch addresses a minor performance regression in a recent change
to this function. This change ensures that the deep copy is only done
if we really need to. Previously, the deep copy was being done for all
messages that included a 'method', not just messages with a method that
contain an argument to be sanitized.
Change-Id: I190c5963ecaf70b0aea4e12a2fdc19deb5c1fea2
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
