feat: remove hostname from labels

This commit is contained in:
2025-09-20 15:04:11 +02:00
parent e95eb09a11
commit 51d4d4bc94
2 changed files with 1 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
// Create Spore instance with custom labels // Create Spore instance with custom labels
Spore spore({ Spore spore({
{"app", "neopattern"}, {"app", "neopattern"},
{"device", "led_strip"}, {"role", "led"},
{"pixels", String(NEOPIXEL_LENGTH)}, {"pixels", String(NEOPIXEL_LENGTH)},
{"pin", String(NEOPIXEL_PIN)} {"pin", String(NEOPIXEL_PIN)}
}); });

View File

@@ -107,7 +107,6 @@ void NetworkManager::setupWiFi() {
} }
ctx.self.lastSeen = millis(); ctx.self.lastSeen = millis();
ctx.self.status = NodeInfo::ACTIVE; ctx.self.status = NodeInfo::ACTIVE;
ctx.self.labels["hostname"] = ctx.hostname;
// Ensure member list has an entry for this node // Ensure member list has an entry for this node
auto &memberList = *ctx.memberList; auto &memberList = *ctx.memberList;