Skip to content
This repository was archived by the owner on Jun 29, 2024. It is now read-only.

Commit d956256

Browse files
committed
Fix actor for UCMGCP, UCMCP
1 parent 9a08ab1 commit d956256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ucmgcp/ucmgcp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (e *UCMGCP) AddUseCase() {
6767
func (e *UCMGCP) UpdateUseCaseAvailability(available bool) {
6868
localEntity := e.service.LocalDevice().EntityForType(model.EntityTypeTypeCEM)
6969

70-
localEntity.SetUseCaseAvailability(model.UseCaseActorTypeCEM, e.UseCaseName(), available)
70+
localEntity.SetUseCaseAvailability(model.UseCaseActorTypeMonitoringAppliance, e.UseCaseName(), available)
7171
}
7272

7373
// returns if the entity supports the usecase

ucmpc/ucmcp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (e *UCMPC) AddUseCase() {
7272
func (e *UCMPC) UpdateUseCaseAvailability(available bool) {
7373
localEntity := e.service.LocalDevice().EntityForType(model.EntityTypeTypeCEM)
7474

75-
localEntity.SetUseCaseAvailability(model.UseCaseActorTypeCEM, e.UseCaseName(), available)
75+
localEntity.SetUseCaseAvailability(model.UseCaseActorTypeMonitoringAppliance, e.UseCaseName(), available)
7676
}
7777

7878
// returns if the entity supports the usecase

0 commit comments

Comments
 (0)