Merge pull request #38 from paravoid/fix-typo-status-standby

Fix an obvious typo, swap STATUS with STANDBY
This commit is contained in:
KazWolfe 2024-06-08 16:24:51 -07:00 committed by GitHub
commit 7e4fb22d16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -160,11 +160,11 @@ class GetRequestPacket : public Packet {
return instance;
}
static GetRequestPacket &get_status_instance() {
static GetRequestPacket instance = GetRequestPacket(GetCommand::STANDBY);
static GetRequestPacket instance = GetRequestPacket(GetCommand::STATUS);
return instance;
}
static GetRequestPacket &get_standby_instance() {
static GetRequestPacket instance = GetRequestPacket(GetCommand::STATUS);
static GetRequestPacket instance = GetRequestPacket(GetCommand::STANDBY);
return instance;
}
static GetRequestPacket &get_error_info_instance() {