blob: e6716f8b87403ab6c45c9612224ad8a6a140aadb [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/forensics/feedback/annotations/target_channel_provider.h"
#include "src/developer/forensics/feedback/annotations/constants.h"
namespace forensics::feedback {
Annotations TargetChannelToAnnotations::operator()(const ErrorOr<std::string>& target_channel) {
return Annotations{
{kSystemUpdateChannelTargetKey, target_channel},
};
}
std::set<std::string> TargetChannelProvider::GetKeys() const {
return {
kSystemUpdateChannelTargetKey,
};
}
} // namespace forensics::feedback