Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nickw444 committed Mar 9, 2018
1 parent 5393e46 commit 6a732dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func main() {
common.SetLogger(l)

addr := net.IPv4bcast
if (*local) {
if *local {
addr = net.IPv4(127, 0, 0, 1)
}

Expand Down
4 changes: 2 additions & 2 deletions simulator/capability/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ func (i *Info) MaybeGetProp(propName string) (handled bool, value interface{}, e
func (i *Info) MaybeHandle(method string, params interface{}) (handled bool, data interface{}, err error) {
if method == "miIO.info" {
info := common.DeviceInfo{
Model: i.Model,
Model: i.Model,
FirmwareVersion: "SIM_0",
MacAddress: "00:00:00:00:00:00",
MacAddress: "00:00:00:00:00:00",
HardwareVersion: "SIM_0",
}
return true, info, nil
Expand Down

0 comments on commit 6a732dd

Please sign in to comment.