Skip to content

Commit

Permalink
change to original eventapimanger naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam0Brien committed Dec 2, 2024
1 parent 7e00991 commit 82e7868
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eventing/stdout/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"encoding/json"
"github.com/google/uuid"
eventingapi "github.com/project-kessel/inventory-api/eventing/api"
api "github.com/project-kessel/inventory-api/eventing/api"
"os"

"github.com/go-kratos/kratos/v2/log"
Expand All @@ -28,7 +28,7 @@ func New(logger *log.Helper) (*StdOutManager, error) {
}, nil
}

func (p *StdOutManager) Produce(ctx context.Context, event *eventingapi.Event) error {
func (p *StdOutManager) Produce(ctx context.Context, event *api.Event) error {
return p.Encoder.Encode(event)
}

Expand All @@ -37,7 +37,7 @@ func (m *StdOutManager) Errs() <-chan error {
}

// Lookup figures out which Producer should be used for the given identity and resource.
func (m *StdOutManager) Lookup(identity *authnapi.Identity, resource_type string, resource_id uuid.UUID) (eventingapi.Producer, error) {
func (m *StdOutManager) Lookup(identity *authnapi.Identity, resource_type string, resource_id uuid.UUID) (api.Producer, error) {
return m, nil
}

Expand Down

0 comments on commit 82e7868

Please sign in to comment.