Skip to content

Commit 6cd7363

Browse files
authored
Merge pull request #20 from ouyangluwei163/main
fix register hami fail
2 parents 198e103 + 2e81410 commit 6cd7363

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/server/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ func NewPluginServer(mgr *manager.AscendManager, nodeName string) (*PluginServer
6868
grpcServer: grpc.NewServer(),
6969
mgr: mgr,
7070
socket: path.Join(v1beta1.DevicePluginPath, fmt.Sprintf("%s.sock", mgr.CommonWord())),
71+
stopCh: make(chan interface{}),
72+
healthCh: make(chan int32),
7173
}, nil
7274
}
7375

0 commit comments

Comments
 (0)