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 19, 2020
1 parent fc09954 commit 480a924
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 @@ -313,7 +313,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 480a924

Please sign in to comment.