Skip to content

Commit 380891f

Browse files
authored
integration policy: handle NPE in secrets (elastic#946)
* handle NPE * changelog
1 parent d749aec commit 380891f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [Unreleased]
22

3+
- Handle NPE in integration policy secrets ([#946](https://github.com/elastic/terraform-provider-elasticstack/pull/946))
34
- Support multiple group by fields in SLOs ([#870](https://github.com/elastic/terraform-provider-elasticstack/pull/878))
45
- Use the auto-generated OAS schema from elastic/kibana for the Fleet API. ([#834](https://github.com/elastic/terraform-provider-elasticstack/issues/834))
56
- Support description in `elasticstack_elasticsearch_security_role` data sources. ([#884](https://github.com/elastic/terraform-provider-elasticstack/pull/884))

internal/fleet/integration_policy/secrets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func HandleRespSecrets(ctx context.Context, resp *kbapi.PackagePolicy, private p
104104
for _, input := range resp.Inputs {
105105
handleVars(utils.Deref(input.Vars))
106106
for _, stream := range utils.Deref(input.Streams) {
107-
handleVars(*stream.Vars)
107+
handleVars(utils.Deref(stream.Vars))
108108
}
109109
}
110110

0 commit comments

Comments
 (0)