use stdlib context in go-kit methods (#1454)

This commit is contained in:
Victor Vrantchan 2017-03-29 11:46:52 -04:00 committed by GitHub
parent 693600ba2b
commit a9f5442cd2
2 changed files with 3 additions and 3 deletions

View file

@ -1,9 +1,10 @@
package service
import (
"context"
"github.com/go-kit/kit/endpoint"
"github.com/kolide/kolide/server/kolide"
"golang.org/x/net/context"
)
type listDecoratorResponse struct {

View file

@ -1,10 +1,9 @@
package service
import (
"context"
"encoding/json"
"net/http"
"golang.org/x/net/context"
)
func decodeNewDecoratorRequest(ctx context.Context, req *http.Request) (interface{}, error) {