Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: typos in misc comments
  • Loading branch information
cognifloyd committed Mar 24, 2023
commit e2b34cd39558d89e320f681c2f548fc0c40422c8
2 changes: 1 addition & 1 deletion api/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func GetDeployments(c *gin.Context) {
return
}

// send API call to capture the list of steps for the build
// send API call to capture the list of deployments for the repo
d, err := scm.FromContext(c).GetDeploymentList(u, r, page, perPage)
if err != nil {
retErr := fmt.Errorf("unable to get deployments for %s: %w", r.GetFullName(), err)
Expand Down
4 changes: 2 additions & 2 deletions compiler/native/substitute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

// SubstituteStages replaces every declared environment
// variable with it's corresponding value for each step
// variable with its corresponding value for each step
// in every stage in a yaml configuration.
func (c *client) SubstituteStages(s types.StageSlice) (types.StageSlice, error) {
// iterate through all stages
Expand All @@ -34,7 +34,7 @@ func (c *client) SubstituteStages(s types.StageSlice) (types.StageSlice, error)
}

// SubstituteSteps replaces every declared environment
// variable with it's corresponding value for each step
// variable with its corresponding value for each step
// in a yaml configuration.
func (c *client) SubstituteSteps(s types.StepSlice) (types.StepSlice, error) {
// iterate through all steps
Expand Down