mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
Fix linting
This commit is contained in:
parent
45de376264
commit
c23aaadf2f
1 changed files with 2 additions and 2 deletions
|
@ -494,7 +494,7 @@ func testCreateAccount(dockerClient *client.Client, version *semver.Version, con
|
|||
createUser := strings.ToLower("createaccountuser-" + branchName)
|
||||
log.Printf("%s: Creating account %s with create-account\n", branchName, createUser)
|
||||
|
||||
respID, err := dockerClient.ContainerExecCreate(context.Background(), containerID, types.ExecConfig{
|
||||
respID, err := dockerClient.ContainerExecCreate(context.Background(), containerID, container.ExecOptions{
|
||||
AttachStderr: true,
|
||||
AttachStdout: true,
|
||||
Cmd: []string{
|
||||
|
@ -507,7 +507,7 @@ func testCreateAccount(dockerClient *client.Client, version *semver.Version, con
|
|||
return fmt.Errorf("failed to ContainerExecCreate: %w", err)
|
||||
}
|
||||
|
||||
response, err := dockerClient.ContainerExecAttach(context.Background(), respID.ID, types.ExecStartCheck{})
|
||||
response, err := dockerClient.ContainerExecAttach(context.Background(), respID.ID, container.ExecStartOptions{})
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to attach to container: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue