Skip to content

Commit

Permalink
engineapi: fix imports
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Su <[email protected]>
  • Loading branch information
derekbit authored and mergify[bot] committed Jun 25, 2024
1 parent c8305cb commit 0a1a108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engineapi/instance_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/sirupsen/logrus"
"go.uber.org/multierr"

lhutils "github.com/longhorn/go-common-libs/utils"
lhlonghorn "github.com/longhorn/go-common-libs/longhorn"
imapi "github.com/longhorn/longhorn-instance-manager/pkg/api"
imclient "github.com/longhorn/longhorn-instance-manager/pkg/client"
immeta "github.com/longhorn/longhorn-instance-manager/pkg/meta"
Expand Down Expand Up @@ -321,7 +321,7 @@ func getTypeForInstance(instanceType longhorn.InstanceType, name string) longhor
return instanceType
}

if lhutils.IsEngineProcess(name) {
if lhlonghorn.IsEngineProcess(name) {
return longhorn.InstanceTypeEngine
}

Expand Down

0 comments on commit 0a1a108

Please sign in to comment.