Skip to content

Commit

Permalink
#379: create a pod
Browse files Browse the repository at this point in the history
  • Loading branch information
muayyad-alsadi committed Feb 14, 2022
1 parent d6e21dc commit 80e8527
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,12 @@ def norm_ulimit(inner_value):
# return [pod], containers

def tr_identity(project_name, given_containers):
pod_name = f"pod_{project_name}"
pod = dict(name=pod_name)
containers = []
for cnt in given_containers:
containers.append(dict(cnt))
return [], containers
containers.append(dict(cnt, pod=pod_name))
return [pod], containers


def assert_volume(compose, mount_dict):
Expand Down

0 comments on commit 80e8527

Please sign in to comment.