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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/apiserver/statushistory/pruner.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:
7
7
        "github.com/juju/juju/apiserver/common"
8
8
        "github.com/juju/juju/apiserver/params"
9
9
        "github.com/juju/juju/state"
10
 
 
11
 
        "github.com/juju/loggo"
12
10
)
13
11
 
14
12
func init() {
15
13
        common.RegisterStandardFacade("StatusHistory", 2, NewAPI)
16
14
}
17
15
 
18
 
var logger = loggo.GetLogger("juju.apiserver.statushistory")
19
 
 
20
16
// API is the concrete implementation of the Pruner endpoint..
21
17
type API struct {
22
18
        st         *state.State