Skip to content

Commit

Permalink
fix11
Browse files Browse the repository at this point in the history
  • Loading branch information
庄润梓 committed Jun 24, 2024
1 parent 7208120 commit 8f857a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/greptimedbcluster_baremetal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ var _ = Describe("Basic test of greptimedb cluster in baremetal", func() {
})
})

func newCreateClusterinBaremetalCommand() *exec.Cmd {
func newCreateClusterinBaremetalCommand() exec.Cmd {
cmd := exec.Command("../../bin/gtctl", "cluster", "create", "mydb", "--bare-metal")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return cmd
return *cmd
}

func createClusterinBaremetal(cmd *exec.Cmd) error {
func createClusterinBaremetal(cmd exec.Cmd) error {
if err := cmd.Run(); err != nil {
return err
}
Expand Down

0 comments on commit 8f857a5

Please sign in to comment.