summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-12-20 10:52:12 +0300
committerGitHub <[email protected]>2018-12-20 10:52:12 +0300
commitaaabf08f9d124d45b65b6efd3fa3146e1cb42f93 (patch)
treeeecda61e9e858385b80503e7d9459f7bb73e4d8c
parentbe5213e2869133f00dc702d55010a5ace8a54d91 (diff)
parent9c7e0383c06234febf7c5d15d1f8cddb7b16f671 (diff)
Merge pull request #65 from Alex-Bond/fix_type_in_static_service
Fix typo in naming of dep in static service
-rw-r--r--service/static/service.go4
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
}