File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ type Spec struct {
92
92
FailFast * bool `json:"fail_fast,omitempty"`
93
93
RuntimeEnvironment RuntimeEnvironment `json:"runtimeEnvironment,omitempty"`
94
94
TerminationPolicy []map [string ]interface {} `json:"terminationPolicy,omitempty"`
95
- PackId string `json:"packId,omitempty"`
95
+ PackId string `json:"packId,omitempty"`
96
96
Hooks * Hooks `json:"hooks,omitempty"`
97
97
Options map [string ]bool `json:"options,omitempty"`
98
98
}
Original file line number Diff line number Diff line change @@ -509,12 +509,11 @@ func flattenSpec(spec cfClient.Spec) []interface{} {
509
509
m ["options" ] = resOptions
510
510
}
511
511
512
- m ["pack_id" ] = spec .PackId
512
+ m ["pack_id" ] = spec .PackId
513
513
m ["concurrency" ] = spec .Concurrency
514
514
m ["branch_concurrency" ] = spec .BranchConcurrency
515
515
m ["trigger_concurrency" ] = spec .TriggerConcurrency
516
516
517
-
518
517
m ["priority" ] = spec .Priority
519
518
520
519
m ["contexts" ] = spec .Contexts
@@ -639,7 +638,7 @@ func mapResourceToPipeline(d *schema.ResourceData) *cfClient.Pipeline {
639
638
OriginalYamlString : originalYamlString ,
640
639
},
641
640
Spec : cfClient.Spec {
642
- PackId : d .Get ("spec.0.pack_id" ).(string ),
641
+ PackId : d .Get ("spec.0.pack_id" ).(string ),
643
642
Priority : d .Get ("spec.0.priority" ).(int ),
644
643
Concurrency : d .Get ("spec.0.concurrency" ).(int ),
645
644
BranchConcurrency : d .Get ("spec.0.branch_concurrency" ).(int ),
Original file line number Diff line number Diff line change
1
+ //go:build tools
1
2
// +build tools
2
3
3
4
package main
You can’t perform that action at this time.
0 commit comments