func (env *Environment) LoadHomeFs() error { logger.Debug("loading home file system") var err error if env.fs.home, err = fs.NewHome(os.Getenv("PKIIO_HOME")); err != nil { return err } return nil }
func (app *AdminApp) InitHomeFs() { var err error app.fs.home, err = fs.NewHome(os.Getenv("PKIIO_HOME")) checkAppFatal("Couldn't initialise home fs: %s", err) }