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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/worker/uniter/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:
25
25
        if err == nil {
26
26
                return
27
27
        }
28
 
        err2 := setAgentStatus(u, status.StatusFailed, userMessage, nil)
 
28
        err2 := setAgentStatus(u, status.Failed, userMessage, nil)
29
29
        if err2 != nil {
30
30
                logger.Errorf("updating agent status: %v", err2)
31
31
        }