Skip to content

Commit cce9740

Browse files
CLOUDP-278196: Discrepancy in "atlas deployments search indexes list" and "atlas clusters search indexes list" (#3328)
1 parent 4891625 commit cce9740

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

internal/cli/deployments/options/deployment_opts.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const (
4747
PausedState = "PAUSED"
4848
StoppedState = "STOPPED"
4949
IdleState = "IDLE"
50+
UpdatingState = "UPDATING"
5051
DeletingState = "DELETING"
5152
RestartingState = "RESTARTING"
5253
LocalCluster = "local"

internal/cli/deployments/search/indexes/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type ListOpts struct {
4343
}
4444

4545
func (opts *ListOpts) Run(ctx context.Context) error {
46-
if _, err := opts.SelectDeployments(ctx, opts.ConfigProjectID(), options.IdleState); err != nil {
46+
if _, err := opts.SelectDeployments(ctx, opts.ConfigProjectID(), options.IdleState, options.UpdatingState); err != nil {
4747
return err
4848
}
4949

0 commit comments

Comments
 (0)