summaryrefslogtreecommitdiff
path: root/service/env/service.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-26 16:56:25 +0300
committerWolfy-J <[email protected]>2018-07-26 16:56:25 +0300
commit234995f297c4067f4dfdba305f3b16a90143cf12 (patch)
tree48fca37b44593cfa969e3d55ba1e513576c25647 /service/env/service.go
parent0b170a3094aaa5f353550806ff409d67642225b9 (diff)
handle env errors
Diffstat (limited to 'service/env/service.go')
-rw-r--r--service/env/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/env/service.go b/service/env/service.go
index 95e99093..a90b0c48 100644
--- a/service/env/service.go
+++ b/service/env/service.go
@@ -16,6 +16,6 @@ func (s *Service) Init(cfg *Config) (bool, error) {
}
// GetEnv must return list of env variables.
-func (s *Service) GetEnv() map[string]string {
- return s.cfg.Values
+func (s *Service) GetEnv() (map[string]string, error) {
+ return s.cfg.Values, nil
}