From f9106d1db955d50ddce023269604b017da2da717 Mon Sep 17 00:00:00 2001 From: Liuyin Shi Date: Tue, 17 Oct 2023 15:33:50 +0000 Subject: [PATCH] fixed error type for hrm, and added get/set connection --- hrm/internal/core/domain/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hrm/internal/core/domain/model.go b/hrm/internal/core/domain/model.go index 925b68c..e755fbf 100644 --- a/hrm/internal/core/domain/model.go +++ b/hrm/internal/core/domain/model.go @@ -40,7 +40,7 @@ func (hrm *HRM) getState() string { return hrm.Status } -func (hrm *HRM) initializeHRM() { +func (hrm *HRM) connectToHRM() { hrm.Status = "Connected" }