Revert "created AddReportFutureVersion dbus method"
This reverts commit 753e4b3c843dd5d1068949c4106a6389f0e0ffbc.
Reason for revert: Breaks bmcweb, same approach is needed for changed properties
Change-Id: Id868159df916fcf0bdd7fc5062f8c51187fcc7e2
diff --git a/src/metric.hpp b/src/metric.hpp
index 549603f..aab4d15 100644
--- a/src/metric.hpp
+++ b/src/metric.hpp
@@ -11,8 +11,7 @@
{
public:
Metric(std::shared_ptr<interfaces::Sensor> sensor,
- OperationType operationType, std::string id, std::string metadata,
- CollectionTimeScope, CollectionDuration);
+ OperationType operationType, std::string id, std::string metadata);
void initialize() override;
const MetricValue& getReading() const override;
@@ -26,6 +25,4 @@
std::shared_ptr<interfaces::Sensor> sensor;
OperationType operationType;
MetricValue reading;
- CollectionTimeScope timeScope;
- CollectionDuration collectionDuration;
};