goimports formatting
This commit is contained in:
parent
f23118d73f
commit
a643e7ca0c
5 changed files with 39 additions and 40 deletions
|
@ -48,6 +48,7 @@ func JobUpdateFromAuroraTask(task *AuroraTask) *JobUpdate {
|
||||||
request: &aurora.JobUpdateRequest{TaskConfig: newTask.TaskConfig(), Settings: newUpdateSettings()},
|
request: &aurora.JobUpdateRequest{TaskConfig: newTask.TaskConfig(), Settings: newUpdateSettings()},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// JobUpdateFromConfig creates an update with default values using an aurora.TaskConfig
|
// JobUpdateFromConfig creates an update with default values using an aurora.TaskConfig
|
||||||
// primitive as the underlying task configuration.
|
// primitive as the underlying task configuration.
|
||||||
// This function should not be used unless the implications of using a primitive value are understood.
|
// This function should not be used unless the implications of using a primitive value are understood.
|
||||||
|
|
|
@ -724,7 +724,6 @@ func TestRealisClient_PartitionPolicy(t *testing.T) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func TestRealisClient_UpdateStrategies(t *testing.T) {
|
func TestRealisClient_UpdateStrategies(t *testing.T) {
|
||||||
// Create a single job
|
// Create a single job
|
||||||
job := realis.NewJob().
|
job := realis.NewJob().
|
||||||
|
@ -737,7 +736,6 @@ func TestRealisClient_UpdateStrategies(t *testing.T) {
|
||||||
InstanceCount(6).
|
InstanceCount(6).
|
||||||
IsService(true)
|
IsService(true)
|
||||||
|
|
||||||
|
|
||||||
// Needed to populate the task config correctly
|
// Needed to populate the task config correctly
|
||||||
assert.NoError(t, job.BuildThermosPayload())
|
assert.NoError(t, job.BuildThermosPayload())
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue