Skip to content

Commit 2be4c2a

Browse files
quincyrnorth
andauthored
Exclude id from NetworkImpl.NetworkImplBuilder (#8125) (#2807)
* Exclude id from NetworkImpl.NetworkImplBuilder (#8125) * Deprecate Network.id field The field is deprecated in order to mark the NetworkBuildImpl#id method deprecated so that the method can later be removed. We'll undeprecate the field at that time. Co-authored-by: Richard North <[email protected]>
1 parent 9b3c87e commit 2be4c2a

File tree

1 file changed

+1
-0
lines changed
  • core/src/main/java/org/testcontainers/containers

1 file changed

+1
-0
lines changed

core/src/main/java/org/testcontainers/containers/Network.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class NetworkImpl extends ExternalResource implements Network {
5252
@Singular
5353
private Set<Consumer<CreateNetworkCmd>> createNetworkCmdModifiers;
5454

55+
@Deprecated
5556
private String id;
5657

5758
private final AtomicBoolean initialized = new AtomicBoolean();

0 commit comments

Comments
 (0)