Skip to content

Commit

Permalink
Capitalize all letters that go into msgPrefix for the other to integr…
Browse files Browse the repository at this point in the history
…ations to match the run task integration msgPrefix
  • Loading branch information
uturunku1 committed Dec 15, 2021
1 parent fc854ee commit 57bd873
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/cloud/backend_common.go
Expand Up @@ -213,7 +213,7 @@ func (b *Cloud) costEstimate(stopCtx, cancelCtx context.Context, op *backend.Ope
return nil
}

msgPrefix := "Cost estimation"
msgPrefix := "Cost Estimation"
started := time.Now()
updated := started
for i := 0; ; i++ {
Expand Down Expand Up @@ -334,9 +334,9 @@ func (b *Cloud) checkPolicy(stopCtx, cancelCtx context.Context, op *backend.Oper
var msgPrefix string
switch pc.Scope {
case tfe.PolicyScopeOrganization:
msgPrefix = "Organization policy check"
msgPrefix = "Organization Policy Check"
case tfe.PolicyScopeWorkspace:
msgPrefix = "Workspace policy check"
msgPrefix = "Workspace Policy Check"
default:
msgPrefix = fmt.Sprintf("Unknown policy check (%s)", pc.Scope)
}
Expand Down

0 comments on commit 57bd873

Please sign in to comment.