Skip to content

Commit b6cdfa5

Browse files
authored
Merge branch 'main' into feature/dev-3162-add-pager-to-atmos-describe-component-command
2 parents a0f8b4f + 1ef5555 commit b6cdfa5

File tree

14 files changed

+422
-114
lines changed

14 files changed

+422
-114
lines changed

cmd/list_metadata.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
listerrors "github.com/cloudposse/atmos/pkg/list/errors"
1616
fl "github.com/cloudposse/atmos/pkg/list/flags"
1717
f "github.com/cloudposse/atmos/pkg/list/format"
18-
u "github.com/cloudposse/atmos/pkg/list/utils"
1918
"github.com/cloudposse/atmos/pkg/schema"
2019
utils "github.com/cloudposse/atmos/pkg/utils"
2120
)
@@ -160,10 +159,5 @@ func listMetadata(cmd *cobra.Command, args []string) (string, error) {
160159
return "", err
161160
}
162161

163-
if output == "" || u.IsEmptyTable(output) {
164-
logNoMetadataFoundMessage(params.ComponentFilter)
165-
return "", nil
166-
}
167-
168162
return output, nil
169163
}

cmd/list_settings.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
listerrors "github.com/cloudposse/atmos/pkg/list/errors"
1616
fl "github.com/cloudposse/atmos/pkg/list/flags"
1717
f "github.com/cloudposse/atmos/pkg/list/format"
18-
u "github.com/cloudposse/atmos/pkg/list/utils"
1918
"github.com/cloudposse/atmos/pkg/schema"
2019
utils "github.com/cloudposse/atmos/pkg/utils"
2120
)
@@ -164,10 +163,5 @@ func listSettings(cmd *cobra.Command, args []string) (string, error) {
164163
return "", err
165164
}
166165

167-
if output == "" || u.IsEmptyTable(output) {
168-
logNoSettingsFoundMessage(params.ComponentFilter)
169-
return "", nil
170-
}
171-
172166
return output, nil
173167
}

go.mod

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)