~rogpeppe/juju-core/azure

« back to all changes in this revision

Viewing changes to cmd/juju/ssh_test.go

Merge prev pipe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
        . "launchpad.net/gocheck"
10
10
        "launchpad.net/juju-core/charm"
11
11
        "launchpad.net/juju-core/cmd"
 
12
        "launchpad.net/juju-core/instance"
12
13
        "launchpad.net/juju-core/juju/testing"
13
14
        "launchpad.net/juju-core/state"
14
15
        coretesting "launchpad.net/juju-core/testing"
139
140
        // fudge unit.SetPublicAddress
140
141
        id, ok := m.InstanceId()
141
142
        c.Assert(ok, Equals, true)
142
 
        insts, err := s.Conn.Environ.Instances([]state.InstanceId{id})
 
143
        insts, err := s.Conn.Environ.Instances([]instance.Id{id})
143
144
        c.Assert(err, IsNil)
144
145
        addr, err := insts[0].WaitDNSName()
145
146
        c.Assert(err, IsNil)