mirror of https://github.com/Icinga/icinga2.git
parent
6e17eadf8f
commit
934234926e
|
@ -96,7 +96,7 @@ int VariableGetCommand::Run(const boost::program_options::variables_map& vm, con
|
||||||
Dictionary::Ptr variable = JsonDeserialize(message);
|
Dictionary::Ptr variable = JsonDeserialize(message);
|
||||||
|
|
||||||
if (variable->Get("name") == ap[0]) {
|
if (variable->Get("name") == ap[0]) {
|
||||||
std::cout << variable->Get("value");
|
std::cout << variable->Get("value") << "\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue