Skip to content

Commit

Permalink
removed -i flag
Browse files Browse the repository at this point in the history
Signed-off-by: daveaugustus <[email protected]>
  • Loading branch information
daveaugustus committed Sep 5, 2024
1 parent bd4f622 commit c14efd5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions .expeditor/verify_private.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@ steps:

# license scout requires github account access because we currently
# rely on at least 2 private repositories.
- label: license scout
command:
# here we reuse the license_scout.sh script used by expeditor to publish the manifest
- .expeditor/license_scout.sh
timeout_in_minutes: 20
retry:
automatic:
limit: 1
expeditor:
secrets:
GITHUB_TOKEN:
account: github/chef
field: token
executor:
docker:
# - label: license scout
# command:
# # here we reuse the license_scout.sh script used by expeditor to publish the manifest
# - .expeditor/license_scout.sh
# timeout_in_minutes: 20
# retry:
# automatic:
# limit: 1
# expeditor:
# secrets:
# GITHUB_TOKEN:
# account: github/chef
# field: token
# executor:
# docker:

# We need to build in order to run the
# integration tests.
Expand Down
2 changes: 1 addition & 1 deletion components/trial-license-service/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ bin:
build: ${BINS}

test:
@go test -v -i $(packages)
@go test -v $(packages)
@go test -v -cover -count=1 $(packages)
4 changes: 2 additions & 2 deletions components/trial-license-service/pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"context"
"encoding/json"
"fmt"
"io/ioutil"
"io"
"net/http"
"net/url"

Expand Down Expand Up @@ -88,7 +88,7 @@ func (c *client) RequestTrialLicense(ctx context.Context,

if resp.StatusCode != http.StatusOK {
var body []byte
body, err = ioutil.ReadAll(resp.Body)
body, err = io.ReadAll(resp.Body)
if err != nil {
return "", &UnexpectedStatusError{code: resp.StatusCode}
}
Expand Down

0 comments on commit c14efd5

Please sign in to comment.