Skip to content

Commit cfeacb0

Browse files
fix typo in comment
1 parent 9ae861d commit cfeacb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codefresh/resource_pipeline.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ func mapResourceToPipeline(d *schema.ResourceData) (*cfclient.Pipeline, error) {
12801280
// This function is used to extract the spec attributes from the original_yaml_string attribute.
12811281
// Typically, unmarshalling the YAML string is problematic because the order of the attributes is not preserved.
12821282
// Namely, we care a lot about the order of the steps and stages attributes.
1283-
// For this purpose we use yq that preserves the order or attributes when converting to json.
1283+
// For this purpose we use yq that preserves the order of attributes when converting to json.
12841284
func extractSpecAttributesFromOriginalYamlString(originalYamlString string, pipeline *cfclient.Pipeline) error {
12851285

12861286
for _, attribute := range []string{"stages", "steps", "hooks"} {

0 commit comments

Comments
 (0)