~rogpeppe/juju-core/azure

« back to all changes in this revision

Viewing changes to cmd/juju/ssh.go

Merge prev pipe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        "errors"
8
8
        "fmt"
9
9
        "launchpad.net/juju-core/cmd"
 
10
        "launchpad.net/juju-core/instance"
10
11
        "launchpad.net/juju-core/juju"
11
12
        "launchpad.net/juju-core/log"
12
13
        "launchpad.net/juju-core/state"
105
106
        for _ = range w.Changes() {
106
107
                if instid, ok := machine.InstanceId(); ok {
107
108
                        w.Stop()
108
 
                        inst, err := c.Environ.Instances([]state.InstanceId{instid})
 
109
                        inst, err := c.Environ.Instances([]instance.Id{instid})
109
110
                        if err != nil {
110
111
                                return "", err
111
112
                        }