aboutsummaryrefslogtreecommitdiff
path: root/bbot
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-19 18:05:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-19 18:05:31 +0300
commit96307738008591afe220cc9feab309e42c20411b (patch)
treeb1c01b3844b1cebb9e3971be6622268bf6e2423d /bbot
parentf5b11ba042f96905d15b16b4127b65cb639d2ff8 (diff)
Adapt to challenge and fingerprint manifest values being optional now
Diffstat (limited to 'bbot')
-rw-r--r--bbot/agent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx
index 2df96e6..b926908 100644
--- a/bbot/agent.cxx
+++ b/bbot/agent.cxx
@@ -839,7 +839,7 @@ try
//
// @@ TODO: key fingerprint.
//
- task_request_manifest tq {hname, "", machine_header_manifests {}};
+ task_request_manifest tq {hname, nullopt, machine_header_manifests {}};
for (const bootstrapped_machine_manifest& m: ms)
tq.machines.emplace_back (m.machine.id,
@@ -977,7 +977,7 @@ try
//
// @@ TODO challange
//
- result_request_manifest rq {tr.session, "", move (r)};
+ result_request_manifest rq {tr.session, nullopt, move (r)};
{
const string& u (*tr.result_url);