~rogpeppe/juju-core/256-more-status

« back to all changes in this revision

Viewing changes to cmd/juju/status.go

  • Committer: Roger Peppe
  • Date: 2013-03-25 13:07:05 UTC
  • Revision ID: roger.peppe@canonical.com-20130325130705-2cfh5as24r427oc9
cmd/juju: add more info to status

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
 
208
208
func processVersion(r map[string]interface{}, v versioned) {
209
209
        if t, err := v.AgentTools(); err == nil {
210
 
                r["agent-version"] = t.Binary.Number.String()
 
210
                r["agent-version"] = t.Binary.String()
 
211
                r["agent-url"] = t.URL
211
212
        }
212
213
}
213
214