Skip to content

Commit 9bf1f46

Browse files
committed
Implemented discovery loading after initialization
1 parent 2713a28 commit 9bf1f46

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

commands/instances.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,14 @@ func Init(req *rpc.InitRequest, responseCallback func(r *rpc.InitResponse)) *sta
288288
}
289289
}
290290

291+
for _, err := range instance.PackageManager.LoadDiscoveries() {
292+
responseCallback(&rpc.InitResponse{
293+
Message: &rpc.InitResponse_Error{
294+
Error: err.Proto(),
295+
},
296+
})
297+
}
298+
291299
// Load libraries
292300
for _, pack := range instance.PackageManager.Packages {
293301
for _, platform := range pack.Platforms {

0 commit comments

Comments
 (0)