diff --git a/aspell_custom.txt b/aspell_custom.txt index 52877a399..297b619f8 100644 --- a/aspell_custom.txt +++ b/aspell_custom.txt @@ -43,3 +43,4 @@ destructuring yaml ttl pkce +tolerations diff --git a/rancher2/structure_agent_deployment_customization.go b/rancher2/structure_agent_deployment_customization.go index 88c210f48..922e8e6dc 100644 --- a/rancher2/structure_agent_deployment_customization.go +++ b/rancher2/structure_agent_deployment_customization.go @@ -44,7 +44,7 @@ func expandAgentDeploymentCustomization(p []interface{}) (*managementClient.Agen in := p[0].(map[string]interface{}) - if v, ok := in["append_tolerations"].([]interface{}); ok && len(v) > 0 { + if v, ok := in["append_tolerations"].([]interface{}); ok { obj.AppendTolerations = expandTolerations(v) }