Skip to content

Commit ffe0719

Browse files
committed
lint
1 parent c81f2a6 commit ffe0719

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

api/v3/wfs_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ SOFTWARE.
2525
package v3
2626

2727
import (
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

api/v3/wms_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

583583
func (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 {

0 commit comments

Comments
 (0)