Skip to content

Commit

Permalink
fix: handle nil maps in flagd-standalone
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Jul 17, 2024
1 parent c6ccfc1 commit facebb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controllers/core/flagd/resources/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ func (r *FlagdDeployment) GetResource(ctx context.Context, flagd *api.Flagd) (cl
},
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Labels: labels,
Labels: labels,
Annotations: annotations,
},
Spec: corev1.PodSpec{
ServiceAccountName: flagd.Spec.ServiceAccountName,
Expand Down

0 comments on commit facebb5

Please sign in to comment.