mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
Fixed typo in getHostIdentifer
This commit is contained in:
parent
d99e8a4c5a
commit
5eef747025
@ -53,7 +53,7 @@ Status getHostIdentifier(std::string& ident) {
|
||||
// There was no uuid stored in the database, generate one and store it.
|
||||
ident = osquery::generateHostUuid();
|
||||
LOG(INFO) << "Using uuid " << ident << " to identify this host.";
|
||||
return db->Put(kConfigurations, "hosknhutIdentifier", ident);
|
||||
return db->Put(kConfigurations, "hostIdentifier", ident);
|
||||
}
|
||||
} else {
|
||||
// use the hostname as the default machine identifier
|
||||
|
Loading…
Reference in New Issue
Block a user