Mill. Take 1.
continuous-integration/drone/push Build is failing

This commit is contained in:
Stian Fredrik Aune
2021-11-07 18:38:32 +01:00
parent 6443e0ecd3
commit 88bd4dc073
17 changed files with 471 additions and 22 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ type Driver struct {
// SearchBridge checks the bridge at the address. If it's not a dry-run, you must hold down the power button
// before calling this function and wait for the pattern.
func (d *Driver) SearchBridge(ctx context.Context, address string, dryRun bool) ([]models.Bridge, error) {
func (d *Driver) SearchBridge(ctx context.Context, address, _ string, dryRun bool) ([]models.Bridge, error) {
res, err := http.Get(fmt.Sprintf("http://%s/device_info", address))
if err != nil {
return nil, err