~rogpeppe/juju-core/323-machineagent-api-client

« back to all changes in this revision

Viewing changes to environs/ec2/state.go

  • Committer: Tarmac
  • Author(s): Tim Penhey
  • Date: 2013-06-17 22:06:54 UTC
  • mfrom: (1274.3.10 instance-id)
  • Revision ID: tarmac-20130617220654-1d7y34f00629h8cv
[r=thumper] Move state.InstanceId to instance.Id

Very mechanical change, just imports, and occasional variable renames.

https://codereview.appspot.com/10325043/

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        "fmt"
9
9
        "io/ioutil"
10
10
        "launchpad.net/goyaml"
11
 
        "launchpad.net/juju-core/state"
 
11
        "launchpad.net/juju-core/instance"
12
12
)
13
13
 
14
14
const stateFile = "provider-state"
15
15
 
16
16
type bootstrapState struct {
17
 
        StateInstances []state.InstanceId `yaml:"state-instances"`
 
17
        StateInstances []instance.Id `yaml:"state-instances"`
18
18
}
19
19
 
20
20
func (e *environ) saveState(state *bootstrapState) error {