Skip to content

Commit 45fdee2

Browse files
committed
fix: add copyright header and fix import ordering
- Add copyright header to pkg/webhook/preflight/nutanix/cache.go - Fix import ordering in pkg/webhook/preflight/nutanix/credentials_test.go to comply with gci configuration (Standard -> Default -> Prefix groups)
1 parent 650d7ba commit 45fdee2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pkg/webhook/preflight/nutanix/cache.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2024 Nutanix. All rights reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
package nutanix
25

36
import (

pkg/webhook/preflight/nutanix/credentials_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ import (
1616
ctrlclient "sigs.k8s.io/controller-runtime/pkg/client"
1717
"sigs.k8s.io/controller-runtime/pkg/client/fake"
1818

19-
carenv1 "github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/api/v1alpha1"
2019
prismgoclient "github.com/nutanix-cloud-native/prism-go-client"
20+
21+
carenv1 "github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/api/v1alpha1"
2122
)
2223

2324
func TestNewCredentialsCheck_Success(t *testing.T) {

0 commit comments

Comments
 (0)