diff options
author | Alex <[email protected]> | 2018-12-19 06:07:45 -0800 |
---|---|---|
committer | Alex <[email protected]> | 2018-12-19 06:07:45 -0800 |
commit | 9c7e0383c06234febf7c5d15d1f8cddb7b16f671 (patch) | |
tree | eecda61e9e858385b80503e7d9459f7bb73e4d8c /service/static/service.go | |
parent | be5213e2869133f00dc702d55010a5ace8a54d91 (diff) |
Fix type in naming of dep in static service
Diffstat (limited to 'service/static/service.go')
-rw-r--r-- | service/static/service.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/static/service.go b/service/static/service.go index b2723e42..2cb419fe 100644 --- a/service/static/service.go +++ b/service/static/service.go @@ -1,7 +1,7 @@ package static import ( - rrttp "github.com/spiral/roadrunner/service/http" + rrhttp "github.com/spiral/roadrunner/service/http" "net/http" "path" ) @@ -20,7 +20,7 @@ type Service struct { // Init must return configure service and return true if service hasStatus enabled. Must return error in case of // misconfiguration. Services must not be used without proper configuration pushed first. -func (s *Service) Init(cfg *Config, r *rrttp.Service) (bool, error) { +func (s *Service) Init(cfg *Config, r *rrhttp.Service) (bool, error) { if r == nil { return false, nil } |