diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2019-01-31 08:23:02 +0100 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2019-01-31 08:23:02 +0100 |
commit | 6476a2b64a2e1ea6c0d695127d726a348cc5c99b (patch) | |
tree | 49909ae9800e9eb9af64731141dc899accf5d2d6 /core/connection.go | |
parent | 2323d3ffe6e66ea7ffa40be232aa54c1d24c8651 (diff) |
Generator improvements
- all objects are now sorted alphabetically for more consistent output
- unions now have constructor generated
- log level for warnings was changed to debug
- GetAllMessages renamed to GetRegisteredMessages
Change-Id: I976453004a2fd8b6cb95ca0acfcef56913bf8d38
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'core/connection.go')
-rw-r--r-- | core/connection.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/connection.go b/core/connection.go index 042a2af..08f08f5 100644 --- a/core/connection.go +++ b/core/connection.go @@ -248,7 +248,7 @@ func (c *Connection) retrieveMessageIDs() (err error) { c.msgMap[msgID] = msg } - msgs := api.GetAllMessages() + msgs := api.GetRegisteredMessages() for name, msg := range msgs { msgID, err := c.vppClient.GetMsgID(msg.GetMessageName(), msg.GetCrcString()) |