Skip to content

Commit

Permalink
changes as per review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnilpotnis committed Apr 12, 2022
1 parent 5b023b6 commit 084c7ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/deployment/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,7 @@ func (q *Query) Get() *appsv1.Deployment {
// see https://github.com/jaegertracing/jaeger-operator/issues/334
sort.Strings(options)

priorityClassName := ""
if q.jaeger.Spec.Query.PriorityClassName != "" {
priorityClassName = q.jaeger.Spec.Query.PriorityClassName
}
priorityClassName := q.jaeger.Spec.Query.PriorityClassName

strategy := appsv1.DeploymentStrategy{
Type: appsv1.RecreateDeploymentStrategyType,
Expand Down

0 comments on commit 084c7ef

Please sign in to comment.