mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
Bugfix/sdk misc (#2847)
* misc sdk fixes * version bump * formatting * add missing dependency to root * alpha.16 and beta.17 * beta.18
This commit is contained in:
@@ -36,7 +36,7 @@ let hostSystemId = 0
|
||||
export type EffectContext = {
|
||||
procedureId: string | null
|
||||
callbacks?: CallbackHolder
|
||||
constRetry: () => void
|
||||
constRetry?: () => void
|
||||
}
|
||||
|
||||
const rpcRoundFor =
|
||||
|
||||
@@ -306,7 +306,6 @@ export class RpcListener {
|
||||
const effects = makeEffects({
|
||||
procedureId: null,
|
||||
callbacks,
|
||||
constRetry: () => {},
|
||||
})
|
||||
return handleRpc(
|
||||
id,
|
||||
@@ -337,7 +336,6 @@ export class RpcListener {
|
||||
this.callbacks = new CallbackHolder(
|
||||
makeEffects({
|
||||
procedureId: null,
|
||||
constRetry: () => {},
|
||||
}),
|
||||
)
|
||||
const callbacks = this.callbackHolderFor("containerInit")
|
||||
@@ -345,7 +343,6 @@ export class RpcListener {
|
||||
makeEffects({
|
||||
procedureId: null,
|
||||
callbacks,
|
||||
constRetry: () => {},
|
||||
}),
|
||||
)
|
||||
this._system = system
|
||||
@@ -427,7 +424,6 @@ export class RpcListener {
|
||||
const effects = makeEffects({
|
||||
procedureId,
|
||||
callbacks,
|
||||
constRetry: () => {},
|
||||
})
|
||||
|
||||
return (async () => {
|
||||
|
||||
@@ -62,7 +62,7 @@ export class DockerProcedureContainer {
|
||||
)
|
||||
} else if (volumeMount.type === "assets") {
|
||||
await subcontainer.mount(
|
||||
{ type: "assets", id: mount, subpath: null },
|
||||
{ type: "assets", subpath: mount },
|
||||
mounts[mount],
|
||||
)
|
||||
} else if (volumeMount.type === "certificate") {
|
||||
|
||||
@@ -170,7 +170,7 @@ export const polyfillEffects = (
|
||||
{
|
||||
mounts: [
|
||||
{
|
||||
path: "/drive",
|
||||
mountpoint: "/drive",
|
||||
options: {
|
||||
type: "volume",
|
||||
id: input.volumeId,
|
||||
@@ -212,7 +212,7 @@ export const polyfillEffects = (
|
||||
{
|
||||
mounts: [
|
||||
{
|
||||
path: "/drive",
|
||||
mountpoint: "/drive",
|
||||
options: {
|
||||
type: "volume",
|
||||
id: input.volumeId,
|
||||
|
||||
Reference in New Issue
Block a user