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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/state/upgrade.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:
262
262
        }
263
263
 
264
264
        doc := upgradeInfoDoc{
265
 
                Id:              currentUpgradeId,
266
 
                PreviousVersion: previousVersion,
267
 
                TargetVersion:   targetVersion,
268
 
                Status:          UpgradePending,
269
 
                // TODO(fwereade): 2016-03-17 lp:1558657
270
 
                Started:          time.Now().UTC(),
 
265
                Id:               currentUpgradeId,
 
266
                PreviousVersion:  previousVersion,
 
267
                TargetVersion:    targetVersion,
 
268
                Status:           UpgradePending,
 
269
                Started:          st.clock.Now().UTC(),
271
270
                ControllersReady: []string{machineId},
272
271
        }
273
272