mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
use stdlib context in go-kit methods (#1454)
This commit is contained in:
parent
693600ba2b
commit
a9f5442cd2
2 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue