This repository was archived by the owner on Jan 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -185,14 +185,10 @@ type JSONData struct {
185185 Version string `json:"version,omitempty"`
186186
187187 // Used by Azure Monitor
188- AzureLogAnalyticsSameAs bool `json:"azureLogAnalyticsSameAs"`
189- ClientID string `json:"clientId,omitempty"`
190- CloudName string `json:"cloudName,omitempty"`
191- LogAnalyticsClientID string `json:"logAnalyticsClientId,omitempty"`
192- LogAnalyticsDefaultWorkspace string `json:"logAnalyticsDefaultWorkspace,omitempty"`
193- LogAnalyticsTenantID string `json:"logAnalyticsTenantId,omitempty"`
194- SubscriptionID string `json:"subscriptionId,omitempty"`
195- TenantID string `json:"tenantId,omitempty"`
188+ ClientID string `json:"clientId,omitempty"`
189+ CloudName string `json:"cloudName,omitempty"`
190+ SubscriptionID string `json:"subscriptionId,omitempty"`
191+ TenantID string `json:"tenantId,omitempty"`
196192}
197193
198194// Required to avoid recursion during (un)marshal
Original file line number Diff line number Diff line change @@ -212,14 +212,10 @@ func TestNewAzureDataSource(t *testing.T) {
212212 Access : "access" ,
213213 IsDefault : true ,
214214 JSONData : JSONData {
215- AzureLogAnalyticsSameAs : true ,
216- ClientID : "lorem-ipsum" ,
217- CloudName : "azuremonitor" ,
218- LogAnalyticsClientID : "lorem-ipsum" ,
219- LogAnalyticsDefaultWorkspace : "lorem-ipsum" ,
220- LogAnalyticsTenantID : "lorem-ipsum" ,
221- SubscriptionID : "lorem-ipsum" ,
222- TenantID : "lorem-ipsum" ,
215+ ClientID : "lorem-ipsum" ,
216+ CloudName : "azuremonitor" ,
217+ SubscriptionID : "lorem-ipsum" ,
218+ TenantID : "lorem-ipsum" ,
223219 },
224220 SecureJSONData : SecureJSONData {
225221 ClientSecret : "alksdjaslkdjkslajdkj.asdlkjaksdjlkajsdlkjsaldj==" ,
You can’t perform that action at this time.
0 commit comments