Skip to content

chore(test): replace deprecated docker struct types in testing harness#9549

Merged
matthewmcneely merged 1 commit intodgraph-io:mainfrom
xqqp:docker_types
Jan 16, 2026
Merged

chore(test): replace deprecated docker struct types in testing harness#9549
matthewmcneely merged 1 commit intodgraph-io:mainfrom
xqqp:docker_types

Conversation

@xqqp
Copy link
Copy Markdown
Contributor

@xqqp xqqp commented Jan 2, 2026

Description

types.Container and types.ContainerJSON from the docker page are deprecated. The documentation says they are going to be removed in the next release. This MR replaces the deprecated types throughout the code base with their modern equivalents.

Also changed container to c in GetContainer(), so the variable doesn't collide with the package name.

@xqqp xqqp requested a review from a team as a code owner January 2, 2026 21:10
@matthewmcneely matthewmcneely changed the title chore(core): don't use deprecated docker struct types chore(test): don't use deprecated docker struct types Jan 16, 2026
@matthewmcneely matthewmcneely changed the title chore(test): don't use deprecated docker struct types chore(test): replace deprecated docker struct types in testing harness Jan 16, 2026
@matthewmcneely matthewmcneely merged commit 4e881c0 into dgraph-io:main Jan 16, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants