mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
remove api package dependency on structs package
This commit is contained in:
committed by
Mahmood Ali
parent
aaf1805142
commit
f46f96d8d5
@@ -6,8 +6,6 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/nomad/nomad/structs"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
@@ -396,7 +394,7 @@ func TestTask_Canonicalize_TaskLifecycle(t *testing.T) {
|
||||
expected: &TaskLifecycle{
|
||||
Hook: "prestart",
|
||||
BlockUntil: "completed",
|
||||
Deadline: structs.TaskLifecycleDeadlineDefault,
|
||||
Deadline: TaskLifecycleDeadlineDefault,
|
||||
},
|
||||
task: &Task{
|
||||
Lifecycle: &TaskLifecycle{
|
||||
|
||||
Reference in New Issue
Block a user