@@ -52,7 +52,7 @@ func policySegmentPortResourceToInfraStruct(id string, d *schema.ResourceData, i
5252 // Segment
5353 child , err := vAPIConversion (childSegmentPort , model .ChildSegmentPortBindingType ())
5454 if err != nil {
55- return model.Infra {}, fmt .Errorf ("Error handling the SegmentPort hierarchial API construction : %v" , err )
55+ return model.Infra {}, fmt .Errorf ("Error handling the SegmentPort hierarchical API construction : %v" , err )
5656 }
5757 segmentChildren := []* data.StructValue {child }
5858 segmentId := getSegmentIdFromSegPath (segmentPath )
@@ -67,7 +67,7 @@ func policySegmentPortResourceToInfraStruct(id string, d *schema.ResourceData, i
6767 // Tier1
6868 child , err = vAPIConversion (childSegment , model .ChildResourceReferenceBindingType ())
6969 if err != nil {
70- return model.Infra {}, fmt .Errorf ("Error handling the Tier1 gw hierarchial API construction : %v" , err )
70+ return model.Infra {}, fmt .Errorf ("Error handling the Tier1 gw hierarchical API construction : %v" , err )
7171 }
7272 if isT1Segment (segmentPath ) {
7373 t1Children := []* data.StructValue {child }
@@ -82,7 +82,7 @@ func policySegmentPortResourceToInfraStruct(id string, d *schema.ResourceData, i
8282
8383 child , err = vAPIConversion (childTier1Gw , model .ChildResourceReferenceBindingType ())
8484 if err != nil {
85- return model.Infra {}, fmt .Errorf ("Error handling the Infra hierarchial API construction : %v" , err )
85+ return model.Infra {}, fmt .Errorf ("Error handling the Infra hierarchical API construction : %v" , err )
8686 }
8787 }
8888 // Infra
0 commit comments