goimports formatting

This commit is contained in:
Renan DelValle 2020-05-05 20:54:10 -07:00
parent f23118d73f
commit a643e7ca0c
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
5 changed files with 39 additions and 40 deletions

View file

@ -48,6 +48,7 @@ func JobUpdateFromAuroraTask(task *AuroraTask) *JobUpdate {
request: &aurora.JobUpdateRequest{TaskConfig: newTask.TaskConfig(), Settings: newUpdateSettings()},
}
}
// JobUpdateFromConfig creates an update with default values using an aurora.TaskConfig
// primitive as the underlying task configuration.
// This function should not be used unless the implications of using a primitive value are understood.

View file

@ -724,7 +724,6 @@ func TestRealisClient_PartitionPolicy(t *testing.T) {
}
func TestRealisClient_UpdateStrategies(t *testing.T) {
// Create a single job
job := realis.NewJob().
@ -737,7 +736,6 @@ func TestRealisClient_UpdateStrategies(t *testing.T) {
InstanceCount(6).
IsService(true)
// Needed to populate the task config correctly
assert.NoError(t, job.BuildThermosPayload())