Skip to content

Commit

Permalink
refactor: move notifer interface to consumer root
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Gateru <[email protected]>
  • Loading branch information
felixgateru authored and dborovcanin committed Jan 13, 2025
1 parent d5507a6 commit 8732d59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- "certs/pki/vault.go"
- "certs/service.go"
- "journal/journal.go"
- "consumers/notifiers/notifier.go"
- "consumers/notifier.go"
- name: Set up protoc
if: steps.changes.outputs.proto == 'true'
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
mv ./pkg/events/mocks/publisher.go ./pkg/events/mocks/publisher.go.tmp
mv ./pkg/policies/mocks/evaluator.go ./pkg/policies/mocks/evaluator.go.tmp
mv ./pkg/policies/mocks/service.go ./pkg/policies/mocks/service.go.tmp
mv ./consumers/notifiers/mocks/notifier.go ./consumers/notifiers/mocks/notifier.go.tmp
mv ./consumers/mocks/notifier.go ./consumers/mocks/notifier.go.tmp
make mocks
Expand Down Expand Up @@ -222,4 +222,4 @@ jobs:
check_mock_changes ./pkg/events/mocks/publisher.go " ./pkg/events/mocks/publisher.go"
check_mock_changes ./pkg/policies/mocks/evaluator.go " ./pkg/policies/mocks/evaluator.go"
check_mock_changes ./pkg/policies/mocks/service.go " ./pkg/policies/mocks/service.go"
check_mock_changes ./consumers/notifiers/mocks/notifier.go " ./consumers/notifiers/mocks/notifier.go"
check_mock_changes ./consumers/mocks/notifier.go " ./consumers/mocks/notifier.go"
File renamed without changes.
2 changes: 1 addition & 1 deletion consumers/notifiers/notifier.go → consumers/notifier.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Abstract Machines
// SPDX-License-Identifier: Apache-2.0

package notifiers
package consumers

import (
"errors"
Expand Down
6 changes: 0 additions & 6 deletions consumers/notifiers/doc.go

This file was deleted.

0 comments on commit 8732d59

Please sign in to comment.