Skip to content

Commit

Permalink
add field index check
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Frahry <mbfrahry@gmail.com>
  • Loading branch information
jrauschenbusch and mbfrahry committed Jun 21, 2020
1 parent 1df9bc8 commit 487c312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azurerm/internal/services/kusto/kusto_cluster_resource.go
Expand Up @@ -329,7 +329,7 @@ func expandKustoClusterSku(d *schema.ResourceData) (*kusto.AzureSku, error) {
}

func expandKustoClusterVNET(input []interface{}) *kusto.VirtualNetworkConfiguration {
if len(input) == 0 {
if len(input) == 0 || input[0] == nil {
return nil
}

Expand Down

0 comments on commit 487c312

Please sign in to comment.