Skip to content

Commit

Permalink
[utilities]: Update sonic-utilities and sonic-py-swsssdk submodule
Browse files Browse the repository at this point in the history
[py-swsssdk]: Adapt to py-swsssdk refactor of mod_entry and mod_config (sonic-net#165)
[intfutil]: Fix python indentation (sonic-net#166)

Change set_config to mod_config

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  • Loading branch information
Shu0T1an ChenG committed Dec 8, 2017
1 parent 5ca798d commit f9efc0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sonic-config-engine/sonic-cfggen
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def main():
if args.write_to_db:
configdb = ConfigDBConnector(**db_kwargs)
configdb.connect(False)
configdb.set_config(FormatConverter.output_to_db(data))
configdb.mod_config(FormatConverter.output_to_db(data))

if args.print_data:
print json.dumps(FormatConverter.to_serialized(data), indent=4, cls=minigraph_encoder)
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-py-swsssdk
2 changes: 1 addition & 1 deletion src/sonic-utilities

0 comments on commit f9efc0d

Please sign in to comment.