From 42e7b7b3e754a9bac9f899eb9d1542ac0becacfd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 17 Aug 2018 16:59:57 -0400 Subject: [PATCH] Use snake-case for cmd_id. --- src/handlers.rs | 2 +- src/msg.fbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handlers.rs b/src/handlers.rs index 7e0310ed79..21e5b2baaf 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -103,7 +103,7 @@ fn reply_error(d: *const DenoC, cmd_id: u32, msg: &String) { let mut builder = flatbuffers::FlatBufferBuilder::new(); // println!("reply_error{}", msg); let args = msg::BaseArgs { - cmdId: cmd_id, + cmd_id: cmd_id, error: Some(builder.create_string(msg)), ..Default::default() }; diff --git a/src/msg.fbs b/src/msg.fbs index d9de545557..89ecfec45d 100644 --- a/src/msg.fbs +++ b/src/msg.fbs @@ -18,7 +18,7 @@ union Any { } table Base { - cmdId: uint32; + cmd_id: uint32; error: string; msg: Any; }