Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 9d2c3a8

Browse files
authored
修正 拼写错误
1 parent 6b73f41 commit 9d2c3a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/service/system_instance.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import StorageSubsystem from "../common/system_storage";
3434
import InstanceConfig from "../entity/instance/Instance_config";
3535
import InstanceStreamListener from "../common/instance_stream";
3636
import { QueryMapWrapper } from "../common/query_wrapper";
37-
import FuntionDispatcher from "../entity/commands/dispatcher";
37+
import FunctionDispatcher from "../entity/commands/dispatcher";
3838
import InstanceControl from "./system_instance_control";
3939
import StartCommand from "../entity/commands/start";
4040

@@ -77,7 +77,7 @@ class InstanceSubsystem extends EventEmitter {
7777
const instance = new Instance(uuid, instanceConfig);
7878
// 所有实例全部进行功能调度器
7979
instance
80-
.forceExec(new FuntionDispatcher())
80+
.forceExec(new FunctionDispatcher())
8181
.then((v) => {})
8282
.catch((v) => {});
8383
this.addInstance(instance);
@@ -102,7 +102,7 @@ class InstanceSubsystem extends EventEmitter {
102102
}
103103
// 根据参数构建并初始化类型
104104
instance.parameters(cfg);
105-
instance.forceExec(new FuntionDispatcher());
105+
instance.forceExec(new FunctionDispatcher());
106106
this.addInstance(instance);
107107
return instance;
108108
}

0 commit comments

Comments
 (0)