Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Modify grafana config for TC037_Network Latency, Throughput, Packet Loss and...
[yardstick.git]
/
yardstick
/
benchmark
/
contexts
/
node.py
diff --git
a/yardstick/benchmark/contexts/node.py
b/yardstick/benchmark/contexts/node.py
index
54ee076
..
c3d6521
100644
(file)
--- a/
yardstick/benchmark/contexts/node.py
+++ b/
yardstick/benchmark/contexts/node.py
@@
-82,6
+82,8
@@
class NodeContext(Context):
LOG.error("Nodes: %r" % nodes)
sys.exit(-1)
- node = nodes[0]
+ # A clone is created in order to avoid affecting the
+ # original one.
+ node = dict(nodes[0])
node["name"] = attr_name
return node