mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-03-15 11:53:31 +00:00
Update formatting.
This commit is contained in:
parent
f078c3d1a3
commit
14e6eb471b
@ -127,7 +127,7 @@ def frames_iter_no_tty(socket: SocketLike) -> t.Generator[tuple[int, bytes]]:
|
|||||||
not enabled.
|
not enabled.
|
||||||
"""
|
"""
|
||||||
while True:
|
while True:
|
||||||
(stream, n) = next_frame_header(socket)
|
stream, n = next_frame_header(socket)
|
||||||
if n < 0:
|
if n < 0:
|
||||||
break
|
break
|
||||||
while n > 0:
|
while n > 0:
|
||||||
|
|||||||
@ -189,7 +189,7 @@ class DockerFileStore:
|
|||||||
if not server_creds:
|
if not server_creds:
|
||||||
raise CredentialsNotFound("No matching credentials")
|
raise CredentialsNotFound("No matching credentials")
|
||||||
|
|
||||||
(username, password) = decode_auth(server_creds["auth"])
|
username, password = decode_auth(server_creds["auth"])
|
||||||
|
|
||||||
return {"Username": username, "Secret": password}
|
return {"Username": username, "Secret": password}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user