@@ -380,7 +380,7 @@ func makeComposeUpCmd() *cobra.Command {
380380 tailOptions .LogType = logs .LogTypeBuild
381381 tailOptions .Services = unbuiltServices
382382 }
383- err := cli .Tail (ctx , provider , project .Name , tailOptions )
383+ err := cli .Tail (ctx , session . Provider , project .Name , tailOptions )
384384 if err != nil && ! errors .Is (err , io .EOF ) {
385385 term .Warn ("Failed to tail logs for deployment error" , err )
386386 return deploymentErr
@@ -394,8 +394,8 @@ func makeComposeUpCmd() *cobra.Command {
394394 handleTailAndMonitorErr (ctx , deploymentErr , debugger , debug.DebugConfig {
395395 Deployment : deploy .Etag ,
396396 Project : project ,
397- ProviderID : & global .Stack .Provider ,
398- Stack : & global .Stack .Name ,
397+ ProviderID : & session .Stack .Provider ,
398+ Stack : & session .Stack .Name ,
399399 Since : since ,
400400 Until : time .Now (),
401401 })
@@ -407,7 +407,7 @@ func makeComposeUpCmd() *cobra.Command {
407407 }
408408
409409 // Print the current service states of the deployment
410- if err := cli .PrintServices (cmd .Context (), project .Name , provider , false ); err != nil {
410+ if err := cli .PrintServices (cmd .Context (), project .Name , session . Provider , false ); err != nil {
411411 term .Warn (err )
412412 }
413413
0 commit comments