Skip to content
Snippets Groups Projects
Commit 3f578736 authored by Karolína Dočkalová Burská's avatar Karolína Dočkalová Burská
Browse files

Merge branch '26-create-new-node-type-for-docker-containers' into 'master'

Update container size check

Closes #26

See merge request muni-kypo-crp/frontend-angular/models/kypo-angular-topology-model!33
parents dc79c25d 342ddfb5
Branches
Tags
No related merge requests found
14.0.5 Update containers size check
14.0.4 Fix containers visibility check. 14.0.4 Fix containers visibility check.
14.0.3 Add container field to host node. 14.0.3 Add container field to host node.
14.0.2 Fix module name. 14.0.2 Fix module name.
......
...@@ -22,8 +22,8 @@ export class HostNode extends Node implements Connectable { ...@@ -22,8 +22,8 @@ export class HostNode extends Node implements Connectable {
result += ports; result += ports;
counter++; counter++;
}); });
if (this.containers.length < 1) { if (this.containers.length > 1) {
result += '\nContainers:'; result += '\nAvailable containers:';
for (let i = 0; i < this.containers.length; i++) { for (let i = 0; i < this.containers.length; i++) {
result += '\n' + this.containers[i]; result += '\n' + this.containers[i];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment