Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
tosca-definitions-dch
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SustainLife
tosca-definitions-dch
Commits
f92d9e9b
Commit
f92d9e9b
authored
Jul 02, 2019
by
Philip Schildkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix <none>-tag nullpointer bug
parent
9e483753
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/files/org_opentosca_nodetypes_DockerEngine_IA_Manage.war
.../files/org_opentosca_nodetypes_DockerEngine_IA_Manage.war
+0
-0
artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/java/org/opentosca/nodetypes/org_opentosca_nodetypes_DockerEngine_IA_Manage.java
...types/org_opentosca_nodetypes_DockerEngine_IA_Manage.java
+2
-2
No files found.
artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/files/org_opentosca_nodetypes_DockerEngine_IA_Manage.war
View file @
f92d9e9b
No preview for this file type
artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/java/org/opentosca/nodetypes/org_opentosca_nodetypes_DockerEngine_IA_Manage.java
View file @
f92d9e9b
...
...
@@ -565,9 +565,9 @@ public class org_opentosca_nodetypes_DockerEngine_IA_Manage extends AbstractIASe
private
String
isImageAvailable
(
final
String
image
,
final
DockerClient
dockerClient
)
{
System
.
out
.
println
(
"Searching available Images: "
);
for
(
final
Image
availImage
:
dockerClient
.
listImagesCmd
().
exec
())
{
if
(
availImage
!=
null
)
{
if
(
availImage
!=
null
&&
availImage
.
getRepoTags
()
!=
null
)
{
for
(
final
String
tag
:
availImage
.
getRepoTags
())
{
if
(
tag
.
startsWith
(
image
))
{
if
(
tag
!=
null
&&
tag
.
startsWith
(
image
))
{
return
availImage
.
getId
();
}
}
...
...
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