File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -111,16 +111,15 @@ func V3HubFromV2(src *WMS, target *pdoknlv3.WMS) {
111111 }
112112 }
113113
114- if src .Spec .Service .Inspire || true {
115- service .Inspire = & pdoknlv3.Inspire {
116- ServiceMetadataURL : pdoknlv3.MetadataURL {
117- CSW : & pdoknlv3.Metadata {
118- MetadataIdentifier : src .Spec .Service .MetadataIdentifier ,
119- },
114+ // Also used by non-inspire services
115+ service .Inspire = & pdoknlv3.Inspire {
116+ ServiceMetadataURL : pdoknlv3.MetadataURL {
117+ CSW : & pdoknlv3.Metadata {
118+ MetadataIdentifier : src .Spec .Service .MetadataIdentifier ,
120119 },
121- SpatialDatasetIdentifier : * src . Spec . Service . Layers [ 0 ]. SourceMetadataIdentifier ,
122- Language : "dut" ,
123- }
120+ } ,
121+ SpatialDatasetIdentifier : * src . Spec . Service . Layers [ 0 ]. SourceMetadataIdentifier ,
122+ Language : "dut" ,
124123 }
125124
126125 if src .Spec .Service .StylingAssets != nil {
You can’t perform that action at this time.
0 commit comments