Skip to content

Commit

Permalink
fix docker and linter
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes committed Aug 19, 2024
1 parent 2d53aca commit 46f5905
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ localnet: localnode
.PHONY: localnet

localnet-start: localnet
@docker-compose -f ./test/docker-compose.yml up -d
@docker compose -f ./test/docker-compose.yml up -d
.PHONY: localnet-start

localnet-stop:
@docker-compose -f ./test/docker-compose.yml down
@docker compose -f ./test/docker-compose.yml down
.PHONY: localnet-stop

integration-test:
Expand Down
3 changes: 2 additions & 1 deletion pkg/loadtest/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package loadtest

import (
"context"
"errors"
"fmt"
"net/http"
"sync"
Expand Down Expand Up @@ -294,7 +295,7 @@ func (c *Coordinator) receiveTestingUpdates() error {
}

case workerFailed:
return fmt.Errorf(msg.Error)
return errors.New(msg.Error)

default:
return fmt.Errorf("unexpected state from remote worker: %s", msg.State)
Expand Down

0 comments on commit 46f5905

Please sign in to comment.