Skip to content

Commit

Permalink
fix automount_service_account_token assignment; bool not *bool
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Dec 26, 2018
1 parent 5936385 commit 0dedeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/structures_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func flattenPodSpec(in v1.PodSpec) ([]interface{}, error) {
att["active_deadline_seconds"] = *in.ActiveDeadlineSeconds
}

att["automount_service_account_token"] = in.AutomountServiceAccountToken
att["automount_service_account_token"] = *in.AutomountServiceAccountToken

containers, err := flattenContainers(in.Containers)
if err != nil {
Expand Down

0 comments on commit 0dedeca

Please sign in to comment.