From 8b4e957441d65ce77af216ca4fc59d5f7155905e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ignacy=20=C5=81=C4=85tka?= Date: Fri, 26 Jun 2026 18:36:50 +0200 Subject: [PATCH] fix: get cloud on-demand price reported as reserved without a spot price --- cmd/cloud/getCloud.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloud/getCloud.go b/cmd/cloud/getCloud.go index 831c9c42..82d557a1 100644 --- a/cmd/cloud/getCloud.go +++ b/cmd/cloud/getCloud.go @@ -66,7 +66,7 @@ var GetCloudCmd = &cobra.Command{ } onDemandPrice, ok := kv["uninterruptablePrice"].(float64) onDemandPriceString := "Reserved" - if ok && spotPrice > 0 { + if ok && onDemandPrice > 0 { onDemandPriceString = fmt.Sprintf("%.3f", onDemandPrice) } row := []string{