feat: remove hostname from labels
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// Create Spore instance with custom labels
|
||||
Spore spore({
|
||||
{"app", "neopattern"},
|
||||
{"device", "led_strip"},
|
||||
{"role", "led"},
|
||||
{"pixels", String(NEOPIXEL_LENGTH)},
|
||||
{"pin", String(NEOPIXEL_PIN)}
|
||||
});
|
||||
|
||||
@@ -107,7 +107,6 @@ void NetworkManager::setupWiFi() {
|
||||
}
|
||||
ctx.self.lastSeen = millis();
|
||||
ctx.self.status = NodeInfo::ACTIVE;
|
||||
ctx.self.labels["hostname"] = ctx.hostname;
|
||||
|
||||
// Ensure member list has an entry for this node
|
||||
auto &memberList = *ctx.memberList;
|
||||
|
||||
Reference in New Issue
Block a user