diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/utils/vyos-hostsd-client | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/vyos-hostsd-client b/src/utils/vyos-hostsd-client index 937e657ff..d3f5c0169 100755 --- a/src/utils/vyos-hostsd-client +++ b/src/utils/vyos-hostsd-client @@ -144,7 +144,7 @@ try: elif args.set_host_name: if not args.domain_name: raise ValueError('--domain-name is required for this operation') - client.set_host_name({'host_name': args.set_host_name, 'domain_name': args.domain_name}) + client.set_host_name(args.set_host_name, args.domain_name) elif args.apply: pass |
