Skip to content

Commit 2a0552a

Browse files
edwardrfedw-defang
andauthored
Print project name in debug and dry-run output (#632)
Co-authored-by: Edward J <[email protected]>
1 parent 085b884 commit 2a0552a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pkg/cli/composeUp.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func ComposeUp(ctx context.Context, c client.Client, force bool, behavior defang
5050
}
5151

5252
if DoDryRun {
53+
fmt.Println("Project:", project.Name)
5354
for _, service := range services {
5455
PrintObject(service.Name, service)
5556
}
@@ -70,6 +71,7 @@ func ComposeUp(ctx context.Context, c client.Client, force bool, behavior defang
7071
}
7172

7273
if term.DoDebug() {
74+
fmt.Println("Project:", project.Name)
7375
for _, service := range resp.Services {
7476
PrintObject(service.Service.Name, service)
7577
}

0 commit comments

Comments
 (0)