File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ impl Context {
98
98
let log_per_call_stats = node_config. api . periodic_function_stats_sec . is_some ( ) ;
99
99
(
100
100
Arc :: new ( FunctionStats :: new (
101
- FunctionType :: ViewFuntion ,
101
+ FunctionType :: ViewFunction ,
102
102
log_per_call_stats,
103
103
) ) ,
104
104
Arc :: new ( FunctionStats :: new (
@@ -1360,21 +1360,21 @@ pub enum LogEvent {
1360
1360
}
1361
1361
1362
1362
pub enum FunctionType {
1363
- ViewFuntion ,
1363
+ ViewFunction ,
1364
1364
TxnSimulation ,
1365
1365
}
1366
1366
1367
1367
impl FunctionType {
1368
1368
fn log_event ( & self ) -> LogEvent {
1369
1369
match self {
1370
- FunctionType :: ViewFuntion => LogEvent :: ViewFunction ,
1370
+ FunctionType :: ViewFunction => LogEvent :: ViewFunction ,
1371
1371
FunctionType :: TxnSimulation => LogEvent :: TxnSimulation ,
1372
1372
}
1373
1373
}
1374
1374
1375
1375
fn operation_id ( & self ) -> & ' static str {
1376
1376
match self {
1377
- FunctionType :: ViewFuntion => "view_function" ,
1377
+ FunctionType :: ViewFunction => "view_function" ,
1378
1378
FunctionType :: TxnSimulation => "txn_simulation" ,
1379
1379
}
1380
1380
}
You can’t perform that action at this time.
0 commit comments