~juju-qa/ubuntu/xenial/juju/2.0-rc2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/agent/agent.go

  • Committer: Nicholas Skaggs
  • Date: 2016-09-30 14:39:30 UTC
  • mfrom: (1.8.1)
  • Revision ID: nicholas.skaggs@canonical.com-20160930143930-vwwhrefh6ftckccy
import upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
522
522
        for key, val := range c0.values {
523
523
                c1.values[key] = val
524
524
        }
 
525
        if c0.servingInfo != nil {
 
526
                info := *c0.servingInfo
 
527
                c1.servingInfo = &info
 
528
        }
525
529
        return &c1
526
530
}
527
531