Skip to content

Commit

Permalink
fix old nil pointer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur committed Nov 6, 2024
1 parent 915c8dc commit 8a2b430
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (q qualityOfServiceAllocator) GetQualityOfService(ctx context.Context, inpu
logger.Debugf(ctx, "Determining quality of service tier from database override for [%s/%s/%s]",
input.ExecutionCreateRequest.Project, input.ExecutionCreateRequest.Domain,
input.ExecutionCreateRequest.Name)
qualityOfServiceTier = input.Workflow.Closure.CompiledWorkflow.Primary.Template.Metadata.QualityOfService.GetTier()
qualityOfServiceTier = qualityOfService.GetTier()

Check warning on line 166 in flyteadmin/pkg/manager/impl/executions/quality_of_service.go

View check run for this annotation

Codecov / codecov/patch

flyteadmin/pkg/manager/impl/executions/quality_of_service.go#L166

Added line #L166 was not covered by tests
}
}

Expand Down

0 comments on commit 8a2b430

Please sign in to comment.