aboutsummaryrefslogtreecommitdiff
path: root/src/zencompute/cloudmetadata.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-04-23 18:16:57 +0200
committerStefan Boberg <[email protected]>2026-04-23 18:16:57 +0200
commit0232b991cd7d8e3a2114ea30e4591dd3e7b65c36 (patch)
tree94730e7594fd09ae1fa820391ce311f6daf13905 /src/zencompute/cloudmetadata.cpp
parentFix forward declaration order for s_GotSigWinch and SigWinchHandler (diff)
parenttrace: declare Region event name fields as AnsiString (#1012) (diff)
downloadarchived-zen-sb/zen-help.tar.xz
archived-zen-sb/zen-help.zip
Merge branch 'main' into sb/zen-helpsb/zen-help
- Combine HelpCommand (this branch) with HistoryCommand (main) in zen CLI dispatcher - Keep filter-aware TuiPickOne rewrite; adopt main's ASCII arrow glyphs in doc comment
Diffstat (limited to 'src/zencompute/cloudmetadata.cpp')
-rw-r--r--src/zencompute/cloudmetadata.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zencompute/cloudmetadata.cpp b/src/zencompute/cloudmetadata.cpp
index eb4c05f9f..f1df18e8e 100644
--- a/src/zencompute/cloudmetadata.cpp
+++ b/src/zencompute/cloudmetadata.cpp
@@ -183,7 +183,7 @@ CloudMetadata::TryDetectAWS()
m_Info.AvailabilityZone = std::string(AzResponse.AsText());
}
- // "spot" vs "on-demand" — determines whether the instance can be
+ // "spot" vs "on-demand" - determines whether the instance can be
// reclaimed by AWS with a 2-minute warning
HttpClient::Response LifecycleResponse = ImdsClient.Get("/latest/meta-data/instance-life-cycle", AuthHeaders);
if (LifecycleResponse.IsSuccess())
@@ -273,7 +273,7 @@ CloudMetadata::TryDetectAzure()
std::string Priority = Compute["priority"].string_value();
m_Info.IsSpot = (Priority == "Spot");
- // Check if part of a VMSS (Virtual Machine Scale Set) — indicates autoscaling
+ // Check if part of a VMSS (Virtual Machine Scale Set) - indicates autoscaling
std::string VmssName = Compute["vmScaleSetName"].string_value();
m_Info.IsAutoscaling = !VmssName.empty();
@@ -609,7 +609,7 @@ namespace zen::compute {
TEST_SUITE_BEGIN("compute.cloudmetadata");
// ---------------------------------------------------------------------------
-// Test helper — spins up a local ASIO HTTP server hosting a MockImdsService
+// Test helper - spins up a local ASIO HTTP server hosting a MockImdsService
// ---------------------------------------------------------------------------
struct TestImdsServer
@@ -974,7 +974,7 @@ TEST_CASE("cloudmetadata.sentinel_files")
SUBCASE("only failed providers get sentinels")
{
- // Switch to AWS — Azure and GCP never probed, so no sentinels for them
+ // Switch to AWS - Azure and GCP never probed, so no sentinels for them
Imds.Mock.ActiveProvider = CloudProvider::AWS;
auto Cloud = Imds.CreateCloud();