Add initial support for solr
This commit is contained in:
parent
7bedeefb50
commit
b27871f39a
13 changed files with 131 additions and 31 deletions
|
|
@ -21,7 +21,7 @@ type Params struct {
|
|||
func ParamsFromEnv() (params Params, err error) {
|
||||
|
||||
// try to read the base directory!
|
||||
value, err := ReadBaseDirectory(environment.Native{}) // TODO: Are we sure about the native environment here?
|
||||
value, err := ReadBaseDirectory(new(environment.Native)) // TODO: Are we sure about the native environment here?
|
||||
switch {
|
||||
case environment.IsNotExist(err):
|
||||
params.ConfigPath = bootstrap.BaseDirectoryDefault
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue