Skip to content

Commit

Permalink
fixed issue with service scoping if no service was provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Saloň authored and MichalSalon committed Dec 12, 2024
1 parent a43bf76 commit 8a484e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.0.33] - 2024-12-12

### Fixed
- issue with service scoping if no service flag was used

## [v1.0.32] - 2024-12-12

### Fixed
Expand Down
4 changes: 4 additions & 0 deletions src/cmd/scope/scopeService.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ func (s *service) LoadSelectedScope(ctx context.Context, cmd *cmdBuilder.Cmd, cm

// interactive selector of service
if service == nil {
// we have to load project, because we need projectId
if err := s.parent.LoadSelectedScope(ctx, cmd, cmdData); err != nil {
return err
}
service, err = uxHelpers.PrintServiceSelector(ctx, cmdData.UxBlocks, cmdData.RestApiClient, *cmdData.Project)
if err != nil {
return err
Expand Down

0 comments on commit 8a484e3

Please sign in to comment.