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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/provider/lxd/config_test.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:
64
64
                Remote: lxdclient.Remote{
65
65
                        Name:          "juju-remote",
66
66
                        Host:          "",
 
67
                        Protocol:      lxdclient.LXDProtocol,
67
68
                        Cert:          nil,
68
69
                        ServerPEMCert: "",
69
70
                },
86
87
        c.Check(clientCfg, jc.DeepEquals, lxdclient.Config{
87
88
                Namespace: cfg.Name(),
88
89
                Remote: lxdclient.Remote{
89
 
                        Name: "juju-remote",
90
 
                        Host: "10.0.0.1",
 
90
                        Name:     "juju-remote",
 
91
                        Host:     "10.0.0.1",
 
92
                        Protocol: lxdclient.LXDProtocol,
91
93
                        Cert: &lxdclient.Cert{
92
94
                                Name:    fmt.Sprintf("juju cert for env %q", s.config.Name()),
93
95
                                CertPEM: []byte("<a valid x.509 cert>"),