From 0b516105dff5ec3d69a2645d18e7c53c52578333 Mon Sep 17 00:00:00 2001 From: Jiawei Tao Date: Tue, 21 Jan 2025 15:52:17 +0800 Subject: [PATCH] Address comments --- .../stream_analytics_output_cosmosdb_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/streamanalytics/stream_analytics_output_cosmosdb_resource.go b/internal/services/streamanalytics/stream_analytics_output_cosmosdb_resource.go index fb3b9ec7da70..3e90bb91c5b2 100644 --- a/internal/services/streamanalytics/stream_analytics_output_cosmosdb_resource.go +++ b/internal/services/streamanalytics/stream_analytics_output_cosmosdb_resource.go @@ -228,7 +228,7 @@ func (r OutputCosmosDBResource) Read() sdk.ResourceFunc { } state.PartitionKey = partitionKey - state.AuthenticationMode = string(*output.Properties.AuthenticationMode) + state.AuthenticationMode = string(pointer.From(output.Properties.AuthenticationMode)) return metadata.Encode(&state) }