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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/worker/uniter/op_callbacks.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
        "gopkg.in/juju/charm.v6-unstable/hooks"
13
13
 
14
14
        "github.com/juju/juju/apiserver/params"
 
15
        "github.com/juju/juju/status"
15
16
        "github.com/juju/juju/worker/uniter/charm"
16
17
        "github.com/juju/juju/worker/uniter/hook"
17
18
        "github.com/juju/juju/worker/uniter/runner"
119
120
 
120
121
// SetExecutingStatus is part of the operation.Callbacks interface.
121
122
func (opc *operationCallbacks) SetExecutingStatus(message string) error {
122
 
        return setAgentStatus(opc.u, params.StatusExecuting, message, nil)
 
123
        return setAgentStatus(opc.u, status.StatusExecuting, message, nil)
123
124
}