mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Switch to hashicorp/go-envparse
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
[](https://godoc.org/github.com/schmichael/go-envparse)
|
||||
[](https://travis-ci.org/schmichael/go-envparse)
|
||||
[](https://ci.appveyor.com/project/schmichael/go-envparse)
|
||||
[](https://coveralls.io/github/schmichael/go-envparse?branch=master)
|
||||
[](https://godoc.org/github.com/hashicorp/go-envparse)
|
||||
[](https://travis-ci.org/hashicorp/go-envparse)
|
||||
[](https://coveralls.io/github/hashicorp/go-envparse?branch=master)
|
||||
|
||||
# go-envparse
|
||||
|
||||
@@ -54,7 +54,7 @@ func parseError(line int, err error) error {
|
||||
}
|
||||
}
|
||||
|
||||
// Parse environmnet variables from an io.Reader into a map or return a
|
||||
// Parse environment variables from an io.Reader into a map or return a
|
||||
// ParseError.
|
||||
func Parse(r io.Reader) (map[string]string, error) {
|
||||
env := make(map[string]string)
|
||||
Reference in New Issue
Block a user