Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2060 from thedadams/project-default-context-display
Browse files Browse the repository at this point in the history
Take the default context into account when printing project information
  • Loading branch information
thedadams committed Aug 14, 2023
2 parents a0d7930 + b68117c commit b6a95e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/cli/project.go
Expand Up @@ -119,9 +119,10 @@ func (a *Project) Run(cmd *cobra.Command, args []string) error {
}
}

projectName := project.RenderProjectName(projectItem.FullName, cfg.DefaultContext)
out.WriteFormatted(projectEntry{
Name: project.RenderProjectName(projectItem.FullName, cfg.DefaultContext),
Default: defaultProject == projectItem.FullName,
Name: projectName,
Default: defaultProject == projectName,
Regions: supportedRegions,
}, projectItem.Project)
}
Expand Down

0 comments on commit b6a95e8

Please sign in to comment.