summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/node.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb
index b13ce0e..5727eef 100644
--- a/lib/oxidized/node.rb
+++ b/lib/oxidized/node.rb
@@ -106,10 +106,10 @@ module Oxidized
def last= job
if job
ostruct = OpenStruct.new
- ostruct.start = job.start
- ostruct.end = job.end
- ostruct.status = job.status
- ostruct.time = job.time
+ ostruct.start = job.start.dup
+ ostruct.end = job.end.dup
+ ostruct.status = job.status.dup
+ ostruct.time = job.time.dup
@last = ostruct
else
@last = nil