Skip to content

Commit 3ee9874

Browse files
authored
fix default Astra Streaming API URL (#270)
1 parent db37c11 commit 3ee9874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/astra/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (p *astraProvider) Configure(ctx context.Context, req provider.ConfigureReq
115115
return
116116
}
117117

118-
streamingAPIServerURL := common.FirstNonEmptyString(config.AstraStreamingServerURL.ValueString(), common.EnvVarOrDefault("ASTRA_STREAMING_API_URL", DefaultAstraAPIURL))
118+
streamingAPIServerURL := common.FirstNonEmptyString(config.AstraStreamingServerURL.ValueString(), common.EnvVarOrDefault("ASTRA_STREAMING_API_URL", DefaultStreamingAPIURL))
119119
if _, err := url.Parse(astraAPIServerURL); err != nil {
120120
resp.Diagnostics.AddError("invalid Astra streaming server API URL", err.Error())
121121
return

0 commit comments

Comments
 (0)