~rogpeppe/juju-core/themue-058-debug-log-api

« back to all changes in this revision

Viewing changes to environs/config.go

  • Committer: Frank Mueller
  • Date: 2014-01-23 14:14:49 UTC
  • mfrom: (2152.1.95 juju-core)
  • Revision ID: frank.mueller@canonical.com-20140123141449-b30l57y7gs3wjkpw
debugger: merged trunk and fixed permission and interface problems

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
        "launchpad.net/juju-core/environs/config"
16
16
        "launchpad.net/juju-core/errors"
 
17
        "launchpad.net/juju-core/juju/osenv"
17
18
)
18
19
 
19
20
var logger = loggo.GetLogger("juju.environs")
159
160
 
160
161
func environsPath(path string) string {
161
162
        if path == "" {
162
 
                path = config.JujuHomePath("environments.yaml")
 
163
                path = osenv.JujuHomePath("environments.yaml")
163
164
        }
164
165
        return path
165
166
}