Skip to content

Commit

Permalink
add a description
Browse files Browse the repository at this point in the history
  • Loading branch information
mhzawadi committed Dec 21, 2024
1 parent 7eed0e3 commit 208702c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-api/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ private function docker_node($node_containers){
if( $key === 'traefik.enable' ){
$container_list[$d]['enable'] = $label;
}
if(!isset($container_list[$d]['description'])){
$container_list[$d]['description'] = 'Docker Node'
}
}
$d++;
}else{
Expand Down Expand Up @@ -137,6 +140,9 @@ private function docker_swarm(){
if( $key === 'traefik.enable' ){
$container_list[$d]['enable'] = $label;
}
if(!isset($container_list[$d]['description'])){
$container_list[$d]['description'] = 'Docker Swarm'
}
}
$d++;
}else{
Expand Down

0 comments on commit 208702c

Please sign in to comment.