Commit 7a2c33a
Nils Bars
Handle None return from Docker network.containers property
Add defensive None check in InstanceManager.is_running() before
checking container membership in the network's container list.
The Docker SDK can return None from network.containers after reload()
under certain race conditions.1 parent b488f1d commit 7a2c33a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
784 | | - | |
| 784 | + | |
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
| |||
0 commit comments