diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pyang_plugins/bgpyang2golang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pyang_plugins/bgpyang2golang.py b/tools/pyang_plugins/bgpyang2golang.py index ee81c311..03b274c1 100644 --- a/tools/pyang_plugins/bgpyang2golang.py +++ b/tools/pyang_plugins/bgpyang2golang.py @@ -169,7 +169,7 @@ def emit_class_def(ctx, c, struct_name): emit_type_name = '[]' + t.golang_name if is_container(child): - print >> o, ' %s' % emit_type_name + print >> o, ' %s\t%s' % (emit_type_name, emit_type_name) else: print >> o, ' %s\t%s' % (val_name_go, emit_type_name) |