Skip to content

Commit 99844ac

Browse files
committed
Fixed compilations issues
1 parent fca412e commit 99844ac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

api/v3/wms_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func (wms *WMS) HorizontalPodAutoscalerPatch() *autoscalingv2.HorizontalPodAutos
333333
}
334334

335335
func (wms *WMS) Options() *Options {
336-
return wms.Spec.Options
336+
return &wms.Spec.Options
337337
}
338338

339339
func (wms *WMS) ID() string {

internal/controller/blobdownload/blob_download_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func TestGetArgsForWMS(t *testing.T) {
205205
},
206206
},
207207
},
208-
Options: &v3.Options{
208+
Options: v3.Options{
209209
PrefetchData: smoothoperatorutils.Pointer(true),
210210
},
211211
},
@@ -272,7 +272,7 @@ func TestGetArgsForWMS(t *testing.T) {
272272
},
273273
},
274274
},
275-
Options: &v3.Options{
275+
Options: v3.Options{
276276
PrefetchData: smoothoperatorutils.Pointer(true),
277277
},
278278
},

internal/controller/featureinfogenerator/featureinfo_generator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func TestGetInput(t *testing.T) {
7373
args: args{
7474
wms: &pdoknlv3.WMS{
7575
Spec: pdoknlv3.WMSSpec{
76-
Options: &pdoknlv3.Options{
76+
Options: pdoknlv3.Options{
7777
AutomaticCasing: true,
7878
},
7979
Service: pdoknlv3.WMSService{

0 commit comments

Comments
 (0)