Skip to content

Commit

Permalink
fix: Bring back osc_region vars and update boiler_plate.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cherriere committed Dec 1, 2023
1 parent 151122c commit 9e15ded
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-boilerplate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
# Copyright 2022 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
1 change: 1 addition & 0 deletions testenv/osccluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 9e15ded

Please sign in to comment.