Fix incorrect instance lookups in plugins

Fix mistaken lookups missing the instance part, or trying to get the id
from the removed instance.id property.
This commit is contained in:
Hornwitser committed 2020-03-13 22:46:17 +01:00
1 parent 1e6b807ae3
commit 6f22942cc5
3 files changed
+7 -4

No files matched your search

+4 -1
View File
@@ -72,7 +72,10 @@ class MockInstance extends link.Link {
this.server = new MockServer();
this.name = "test";
this.config = {
id: 7357,
get: (name) => {
if (name === "instance.id") { return 7357 }
throw Error("Not implemented");
}
}
}
}