File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ SOFTWARE.
2525package v3
2626
2727import (
28+ "slices"
29+
2830 shared_model "github.com/pdok/smooth-operator/model"
2931 corev1 "k8s.io/api/core/v1"
3032 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
31- "slices"
3233 "k8s.io/apimachinery/pkg/runtime/schema"
3334)
3435
Original file line number Diff line number Diff line change @@ -120,9 +120,9 @@ type WMSService struct {
120120 Layer Layer `json:"layer"`
121121}
122122
123- func (s WMSService ) KeywordsIncludingInspireKeyword () []string {
124- keywords := s .Keywords
125- if s .Inspire != nil && ! slices .Contains (keywords , "infoMapAccessService" ) {
123+ func (wmsService WMSService ) KeywordsIncludingInspireKeyword () []string {
124+ keywords := wmsService .Keywords
125+ if wmsService .Inspire != nil && ! slices .Contains (keywords , "infoMapAccessService" ) {
126126 keywords = append (keywords , "infoMapAccessService" )
127127 }
128128
@@ -582,7 +582,7 @@ func (wms *WMS) URLPath() string {
582582
583583func (wms * WMS ) GeoPackages () []* Gpkg {
584584 gpkgs := make ([]* Gpkg , 0 )
585-
585+
586586 for _ , layer := range wms .Spec .Service .Layer .Layers {
587587 if layer .Data != nil {
588588 if layer .Data .Gpkg != nil {
You can’t perform that action at this time.
0 commit comments