Skip to content

Commit 23bcb7d

Browse files
authored
Update thread-border-router-management-server.cpp
1 parent ac173d6 commit 23bcb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/clusters/thread-border-router-management-server/thread-border-router-management-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ void ServerInstance::OnPlatformEventHandler(const DeviceLayer::ChipDeviceEvent *
340340
CHIP_ERROR ServerInstance::Init()
341341
{
342342
ReturnErrorCodeIf(!mDelegate, CHIP_ERROR_INVALID_ARGUMENT);
343-
ReturnErrorOnFailure(CommandHandlerInterfaceRegistry::GetInstance()->RegisterCommandHandler(this));
343+
ReturnErrorOnFailure(CommandHandlerInterfaceRegistry::RegisterCommandHandler(this));
344344
VerifyOrReturnError(registerAttributeAccessOverride(this), CHIP_ERROR_INCORRECT_STATE);
345345
ReturnErrorOnFailure(DeviceLayer::PlatformMgrImpl().AddEventHandler(OnPlatformEventHandler, reinterpret_cast<intptr_t>(this)));
346346
return mDelegate->Init(this);

0 commit comments

Comments
 (0)