Skip to content

Commit a1168c8

Browse files
committed
removed DeprecationWarning @shin-
1 parent c6046ac commit a1168c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docker/client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -860,10 +860,6 @@ def start(self, container, binds=None, port_bindings=None, lxc_conf=None,
860860
if volumes_from is not None:
861861
warnings.warn(warning_message.format('volumes_from'),
862862
DeprecationWarning)
863-
if restart_policy is not None:
864-
warnings.warn(warning_message.format('restart_policy'),
865-
DeprecationWarning)
866-
867863
if dns_search:
868864
start_config['DnsSearch'] = dns_search
869865

0 commit comments

Comments
 (0)