Skip to content

Commit

Permalink
fix golint: unnecessary conversion for node_idle_time_before_scale_down
Browse files Browse the repository at this point in the history
  • Loading branch information
gro1m committed May 17, 2021
1 parent c111277 commit 0e9d18d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func expandScaleSettings(input []interface{}) *machinelearningservices.ScaleSett

max_node_count := int32(v["max_node_count"].(int))
min_node_count := int32(v["min_node_count"].(int))
node_idle_time_before_scale_down := string(v["node_idle_time_before_scale_down"].(string))
node_idle_time_before_scale_down := v["node_idle_time_before_scale_down"].(string)

return &machinelearningservices.ScaleSettings{
MaxNodeCount: &max_node_count,
Expand Down

0 comments on commit 0e9d18d

Please sign in to comment.