Skip to content

Commit

Permalink
[Azure][Cluster] Only set evictionPolicy to Delete when spot is used (r…
Browse files Browse the repository at this point in the history
…ay-project#46959)

Signed-off-by: ujjawal-khare <[email protected]>
  • Loading branch information
kekulai-fredchang authored and ujjawal-khare committed Oct 15, 2024
1 parent 30a9a2c commit e71d03c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
}
},
"priority": "[parameters('priority')]",
"evictionPolicy": "[parameters('evictionPolicy')]",
"evictionPolicy": "[if(equals(parameters('priority'), 'Spot'), parameters('evictionPolicy'), '')]",
"billingProfile": "[parameters('billingProfile')]"
},
"identity": {
Expand Down

0 comments on commit e71d03c

Please sign in to comment.