Skip to content

Commit

Permalink
Merge pull request coreswitch#3 from ebiken/hostname
Browse files Browse the repository at this point in the history
fix set system hostname typo avoiding HostnameApi to be called.
  • Loading branch information
kishiguro authored Dec 9, 2017
2 parents 1b55189 + 0a3692e commit f9b8779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func (this *CliComponent) Start() component.Component {
run := mode.Parser.Lookup("run")
run.LinkNodes(opNode)

Parser.InstallLine("system host-name WORD", HostnameApi)
Parser.InstallLine("system hostname WORD", HostnameApi)
Parser.InstallLine("system etcd endpoints WORD", EtcdEndpointsApi)
Parser.InstallLine("system etcd path WORD", EtcdPathApi)
Parser.InstallLine("interfaces interface WORD dhcp-relay-group WORD", RelayApi)
Expand Down

0 comments on commit f9b8779

Please sign in to comment.