Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Czaja committed Oct 25, 2024
1 parent 8d287a0 commit 9f5ab5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/suites/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ func (suite *baseSuite) onboardCluster(ctx context.Context, t *testing.T) *clien
r.NoError(err)
r.Equal(http.StatusOK, credsScriptResp.HTTPResponse.StatusCode)

r.NoError(ExecPretty(*credsScriptResp.JSON200.Script))
// Do not print, because it contains credentials.
_, err = Exec(*credsScriptResp.JSON200.Script)
r.NoError(err)

r.NoError(ExecPretty("kubectl scale deployment -n castai-agent castai-agent --replicas=1")) //nolint:dupword
r.NoError(ExecPretty("kubectl scale deployment -n castai-agent castai-cluster-controller --replicas=1"))
Expand Down

0 comments on commit 9f5ab5f

Please sign in to comment.