From 4e2245bbe66b7ce91303bd76071f3bc5c6ffdd1e Mon Sep 17 00:00:00 2001 From: Terence Hampson Date: Wed, 7 Aug 2024 11:32:30 -0400 Subject: [PATCH] ECOINFO address post merge comment for small fix (#34846) --- .../ecosystem-information-server.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/clusters/ecosystem-information-server/ecosystem-information-server.cpp b/src/app/clusters/ecosystem-information-server/ecosystem-information-server.cpp index 74a27f21779ff9..b962150e219c63 100644 --- a/src/app/clusters/ecosystem-information-server/ecosystem-information-server.cpp +++ b/src/app/clusters/ecosystem-information-server/ecosystem-information-server.cpp @@ -282,11 +282,11 @@ CHIP_ERROR EcosystemInformationServer::ReadAttribute(const ConcreteReadAttribute switch (aPath.mAttributeId) { case Attributes::RemovedOn::Id: - return EcosystemInformationServer::Instance().EncodeRemovedOnAttribute(aPath.mEndpointId, aEncoder); + return EncodeRemovedOnAttribute(aPath.mEndpointId, aEncoder); case Attributes::DeviceDirectory::Id: - return EcosystemInformationServer::Instance().EncodeDeviceDirectoryAttribute(aPath.mEndpointId, aEncoder); + return EncodeDeviceDirectoryAttribute(aPath.mEndpointId, aEncoder); case Attributes::LocationDirectory::Id: - return EcosystemInformationServer::Instance().EncodeLocationStructAttribute(aPath.mEndpointId, aEncoder); + return EncodeLocationStructAttribute(aPath.mEndpointId, aEncoder); case Attributes::ClusterRevision::Id: { uint16_t rev = ZCL_ECOSYSTEM_INFORMATION_CLUSTER_REVISION; return aEncoder.Encode(rev);