Skip to content

Commit 2be46ca

Browse files
committed
linting
1 parent bf3be79 commit 2be46ca

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/aks-preview/azext_aks_preview/_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,9 +2316,9 @@ def load_arguments(self, _):
23162316
)
23172317
c.argument(
23182318
"spot_max_price",
2319-
type=float,
2320-
validator=validate_spot_max_price,
2321-
help="The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)"
2319+
type=float,
2320+
validator=validate_spot_max_price,
2321+
help="The max price (in US Dollars) you are willing to pay for spot instances."
23222322
)
23232323
c.argument(
23242324
"enable_ultra_ssd",

src/aks-preview/azext_aks_preview/machine.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ def set_machine_os_profile(cmd, raw_parameters):
203203
)
204204
return machineOSProfile
205205

206+
206207
def set_machine_billing_profile(cmd, raw_parameters):
207208
spot_max_price = raw_parameters.get("spot_max_price")
208209
MachineBillingProfile = cmd.get_models(
@@ -213,4 +214,4 @@ def set_machine_billing_profile(cmd, raw_parameters):
213214
machineBillingProfile = MachineBillingProfile(
214215
spot_max_price=spot_max_price
215216
)
216-
return machineBillingProfile
217+
return machineBillingProfile

0 commit comments

Comments
 (0)