Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
cb0842ab
Commit
cb0842ab
authored
May 15, 2014
by
Matt Bray
Committed by
James Cammarata
May 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker: fix targetting images by name
parent
2432b45e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
library/cloud/docker
+1
-1
No files found.
library/cloud/docker
View file @
cb0842ab
...
...
@@ -516,7 +516,7 @@ class DockerManager:
# '{} {}'.format(entrypoint, command)
command_matches
=
(
not
command
or
running_command
.
endswith
(
command
))
if
name_matches
or
(
image_matches
and
tag_matches
and
command_matches
):
if
name_matches
or
(
name
is
None
and
image_matches
and
tag_matches
and
command_matches
):
details
=
self
.
client
.
inspect_container
(
i
[
'Id'
])
details
=
_docker_id_quirk
(
details
)
deployed
.
append
(
details
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment