Skip to content

Commit d221ddc

Browse files
committed
fix: remove len-check-append_tolerations
1 parent e595d0f commit d221ddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rancher2/structure_agent_deployment_customization.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func expandAgentDeploymentCustomization(p []interface{}) (*managementClient.Agen
4444

4545
in := p[0].(map[string]interface{})
4646

47-
if v, ok := in["append_tolerations"].([]interface{}); ok && len(v) > 0 {
47+
if v, ok := in["append_tolerations"].([]interface{}); ok {
4848
obj.AppendTolerations = expandTolerations(v)
4949
}
5050

0 commit comments

Comments
 (0)