Make linter happy ...

This commit is contained in:
Philippe Caseiro 2018-10-17 16:46:24 +02:00 committed by William Petit
parent dc195d0d21
commit 128b135d5c
1 changed files with 4 additions and 4 deletions

View File

@ -61,14 +61,14 @@ func (o *OrionService) OwrtListWifiInterfaces(r *http.Request, args *ListIfaceAr
// CreateIfaceArgs argument structure for exported method OwrtCreateWifiInterface
type CreateIfaceArgs struct {
Iface *openwrt.UCIWirelessInterface
Cleanup bool
Iface *openwrt.UCIWirelessInterface
}
// CreateIfaceResponse argument structure for exported method OwrtCreateWifiInterface
type CreateIfaceResponse struct {
Iface *openwrt.UCIWirelessInterface
Errors []*openwrt.Action
Iface *openwrt.UCIWirelessInterface
}
// OwrtCreateWifiInterface Create a WifiInterface in openwrt
@ -303,7 +303,7 @@ func (o *OrionService) setupMasterWifi(rqContext context.Context, box *OrionBox,
return nil
}
// updateAndReboot connects to the box with the New adress and run basic tests on version dans updates
// updateAndReboot connects to the box with the New address and run basic tests on version dans updates
func (o *OrionService) updateAndReboot(rqContext context.Context, box *OrionBox, server *OrionServer, reply *UpdateOrionBoxResponse) error {
time.Sleep(3 * time.Second)
boxCli, err := o.connectUpdater(rqContext, box)
@ -366,7 +366,7 @@ func (o *OrionService) UpdateOrionBox(r *http.Request,
// if err := o.setupMasterWifi(r.Context(), args.Box, args.Server); err != nil {
// return err
// }
o.setupMasterWifi(r.Context(), args.Box, args.Server)
_ = o.setupMasterWifi(r.Context(), args.Box, args.Server)
return o.updateAndReboot(r.Context(), args.Box, args.Server, reply)
}