Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit fb71f3b

Browse files
committed
gofmt files with go 1.19
Prepare for future updates of Go, which may result in some changes in formatting in GoDoc comments. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 8839c52 commit fb71f3b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

aci/login/login.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"golang.org/x/oauth2"
3434
)
3535

36-
//go login process, derived from code sample provided by MS at https://github.com/devigned/go-az-cli-stuff
36+
// go login process, derived from code sample provided by MS at https://github.com/devigned/go-az-cli-stuff
3737
const (
3838
clientID = "04b07795-8ddb-461a-bbee-02f9e1bf7b46" // Azure CLI client id
3939
)

kube/client/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func (kc KubeClient) WaitForPodState(ctx context.Context, opts WaitForStatusOpti
285285
return nil
286286
}
287287

288-
//MapPortsToLocalhost runs a port-forwarder daemon process
288+
// MapPortsToLocalhost runs a port-forwarder daemon process
289289
func (kc KubeClient) MapPortsToLocalhost(ctx context.Context, opts PortMappingOptions) error {
290290
stopChannel := make(chan struct{}, 1)
291291
readyChannel := make(chan struct{})

kube/helm/chart.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
"k8s.io/apimachinery/pkg/runtime"
3838
)
3939

40-
//ConvertToChart convert Kube objects to helm chart
40+
// ConvertToChart convert Kube objects to helm chart
4141
func ConvertToChart(name string, objects map[string]runtime.Object) (*chart.Chart, error) {
4242

4343
files := []*loader.BufferedFile{

kube/resources/kube.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939
clusterIPHeadless = "None"
4040
)
4141

42-
//MapToKubernetesObjects maps compose project to Kubernetes objects
42+
// MapToKubernetesObjects maps compose project to Kubernetes objects
4343
func MapToKubernetesObjects(project *types.Project) (map[string]runtime.Object, error) {
4444
objects := map[string]runtime.Object{}
4545

utils/e2e/framework.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ func GoldenFile(name string) string {
286286
return name + ".golden"
287287
}
288288

289-
//Lines split output into lines
289+
// Lines split output into lines
290290
func Lines(output string) []string {
291291
return strings.Split(strings.TrimSpace(output), "\n")
292292
}

0 commit comments

Comments
 (0)