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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/cmd/juju/status/output_summary.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:
163
163
                f.resolveAndTrackIp(m.DNSName)
164
164
 
165
165
                if agentState := m.JujuStatus.Current; agentState == "" {
166
 
                        agentState = status.StatusPending
 
166
                        agentState = status.Pending
167
167
                } else {
168
168
                        stateToMachine[agentState]++
169
169
                }