File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ type Spec struct {
9292 FailFast * bool `json:"fail_fast,omitempty"`
9393 RuntimeEnvironment RuntimeEnvironment `json:"runtimeEnvironment,omitempty"`
9494 TerminationPolicy []map [string ]interface {} `json:"terminationPolicy,omitempty"`
95- PackId string `json:"packId,omitempty"`
95+ PackId string `json:"packId,omitempty"`
9696 Hooks * Hooks `json:"hooks,omitempty"`
9797 Options map [string ]bool `json:"options,omitempty"`
9898}
Original file line number Diff line number Diff line change @@ -509,12 +509,11 @@ func flattenSpec(spec cfClient.Spec) []interface{} {
509509 m ["options" ] = resOptions
510510 }
511511
512- m ["pack_id" ] = spec .PackId
512+ m ["pack_id" ] = spec .PackId
513513 m ["concurrency" ] = spec .Concurrency
514514 m ["branch_concurrency" ] = spec .BranchConcurrency
515515 m ["trigger_concurrency" ] = spec .TriggerConcurrency
516516
517-
518517 m ["priority" ] = spec .Priority
519518
520519 m ["contexts" ] = spec .Contexts
@@ -639,7 +638,7 @@ func mapResourceToPipeline(d *schema.ResourceData) *cfClient.Pipeline {
639638 OriginalYamlString : originalYamlString ,
640639 },
641640 Spec : cfClient.Spec {
642- PackId : d .Get ("spec.0.pack_id" ).(string ),
641+ PackId : d .Get ("spec.0.pack_id" ).(string ),
643642 Priority : d .Get ("spec.0.priority" ).(int ),
644643 Concurrency : d .Get ("spec.0.concurrency" ).(int ),
645644 BranchConcurrency : d .Get ("spec.0.branch_concurrency" ).(int ),
You can’t perform that action at this time.
0 commit comments