Skip to content

Commit

Permalink
fix another dup import
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Dec 19, 2023
1 parent 22d50a1 commit c399d17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions internal/orchestrator/updates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"go.uber.org/goleak"

v1types "github.com/metal-toolbox/conditionorc/pkg/api/v1/types"
rcond "github.com/metal-toolbox/rivets/condition"
rctypes "github.com/metal-toolbox/rivets/condition"
)

Expand Down Expand Up @@ -159,18 +158,18 @@ func TestEventUpdateFromKV(t *testing.T) {
cID := registry.GetID("test-app")

// add some KVs
sv1 := rcond.StatusValue{
sv1 := rctypes.StatusValue{
Target: uuid.New().String(),
State: "pending",
Status: json.RawMessage(`{"msg":"some-status"}`),
WorkerID: cID.String(),
}
bogus := rcond.StatusValue{
bogus := rctypes.StatusValue{
Target: uuid.New().String(),
State: "bogus",
Status: json.RawMessage(`{"msg":"some-status"}`),
}
noCID := rcond.StatusValue{
noCID := rctypes.StatusValue{
Target: uuid.New().String(),
State: "failed",
Status: json.RawMessage(`{"msg":"some-status"}`),
Expand Down

0 comments on commit c399d17

Please sign in to comment.