diff --git a/hack/boilerplate/boilerplate.py b/hack/boilerplate/boilerplate.py index cb0093fe2..3f31b0ef3 100755 --- a/hack/boilerplate/boilerplate.py +++ b/hack/boilerplate/boilerplate.py @@ -151,7 +151,7 @@ def file_extension(filename): "pkg/kubectl/generated/bindata.go", "tilt_modules", "cloud/services/net/mock_net", "cloud/services/security/mock_security", "cloud/services/service/mock_service", "cloud/services/storage/mock_storage", "cloud/services/compute/mock_compute", - "cloud/tag/mock_tag", "api/v1beta1/zz_generated.deepcopy.go"] + "cloud/tag/mock_tag", "cloud/scope/mock_scope", "api/v1beta1/zz_generated.deepcopy.go"] # list all the files contain 'DO NOT EDIT', but are not generated skipped_ungenerated_files = ['hack/lib/swagger.sh', 'hack/boilerplate/boilerplate.py'] diff --git a/hack/verify-boilerplate.sh b/hack/verify-boilerplate.sh index 09b5ffa3a..ef1f51eab 100755 --- a/hack/verify-boilerplate.sh +++ b/hack/verify-boilerplate.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/bash # Copyright 2022 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/testenv/osccluster_controller_test.go b/testenv/osccluster_controller_test.go index 20b360a1c..b6fc1ae56 100644 --- a/testenv/osccluster_controller_test.go +++ b/testenv/osccluster_controller_test.go @@ -891,6 +891,7 @@ var _ = Describe("Outscale Cluster Reconciler", func() { }) It("should create a simple cluster with default values", func() { ctx := context.Background() + osc_region, ok := os.LookupEnv("OSC_REGION") infraClusterSpec := infrastructurev1beta1.OscClusterSpec{ Network: infrastructurev1beta1.OscNetwork{ Net: infrastructurev1beta1.OscNet{