~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/manual/export_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:
3
3
 
4
4
package manual
5
5
 
6
 
import (
7
 
        "github.com/juju/juju/environs"
8
 
)
9
 
 
10
6
var (
11
7
        ProviderInstance = manualProvider{}
12
8
        InitUbuntuUser   = &initUbuntuUser
13
9
)
14
 
 
15
 
func EnvironUseSSHStorage(env environs.Environ) bool {
16
 
        e, ok := env.(*manualEnviron)
17
 
        if !ok {
18
 
                return false
19
 
        }
20
 
        return e.cfg.useSSHStorage()
21
 
}