Skip to content

Commit c7f3252

Browse files
vhvb1989Copilot
andcommitted
fix: gofmt formatting for sentinel error declarations
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 62cdec2 commit c7f3252

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

cli/azd/internal/cmd/errors_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,10 +1252,10 @@ func Test_PackageLevelErrorsMapped(t *testing.T) {
12521252
"ErrNoResourceSelected": "pkg/prompt: interactive prompt error, caught in command callers",
12531253

12541254
// Subscription filter errors surfaced as user-facing messages in sub-filter commands
1255-
"ErrInteractiveRequired": "internal: sub-filter requires interactive mode, caught in command action",
1256-
"ErrNoSubscriptionsFound": "internal: no subscriptions available, caught in command action",
1257-
"ErrNoTenantsFound": "internal: no tenants available, caught in command action",
1258-
"ErrNoFilterExists": "internal: no filter to remove, caught in command action",
1255+
"ErrInteractiveRequired": "internal: sub-filter requires interactive mode, caught in command action",
1256+
"ErrNoSubscriptionsFound": "internal: no subscriptions available, caught in command action",
1257+
"ErrNoTenantsFound": "internal: no tenants available, caught in command action",
1258+
"ErrNoFilterExists": "internal: no filter to remove, caught in command action",
12591259

12601260
// Template errors caught in init flow
12611261
"ErrTemplateNotFound": "pkg/templates: caught in init/template callers before reaching telemetry",

cli/azd/internal/errors.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ var (
125125

126126
// Subscription filter errors
127127
var (
128-
ErrInteractiveRequired = errors.New("interactive mode required")
129-
ErrNoSubscriptionsFound = errors.New("no subscriptions found")
130-
ErrNoTenantsFound = errors.New("no tenants found")
131-
ErrNoFilterExists = errors.New("no saved filter exists")
128+
ErrInteractiveRequired = errors.New("interactive mode required")
129+
ErrNoSubscriptionsFound = errors.New("no subscriptions found")
130+
ErrNoTenantsFound = errors.New("no tenants found")
131+
ErrNoFilterExists = errors.New("no saved filter exists")
132132
)
133133

134134
// ExitCodeError wraps an error with a specific process exit code.

0 commit comments

Comments
 (0)