Skip to content

Commit

Permalink
fix the issue when entity is none (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
boppanasusanth authored Mar 27, 2024
1 parent 9a330b3 commit 4e3188d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/command/commands/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ func (o *Operation) parseFlags(entity, componentType *string, isEnvOperation, is
} else {
if isComponentTypePresent {
*isComponentOperation = true
*entity = "component"
} else {
*isServiceOperation = true
*entity = "service"
}
}

Expand Down

0 comments on commit 4e3188d

Please sign in to comment.