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

Commit

Permalink
Merge pull request #2176 from thaJeztah/gofmt_119
Browse files Browse the repository at this point in the history
gofmt files with go 1.19
  • Loading branch information
nicksieger authored Jul 27, 2022
2 parents 7e355b8 + fb71f3b commit bf1fd67
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aci/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"golang.org/x/oauth2"
)

//go login process, derived from code sample provided by MS at https://github.com/devigned/go-az-cli-stuff
// go login process, derived from code sample provided by MS at https://github.com/devigned/go-az-cli-stuff
const (
clientID = "04b07795-8ddb-461a-bbee-02f9e1bf7b46" // Azure CLI client id
)
Expand Down
2 changes: 1 addition & 1 deletion kube/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func (kc KubeClient) WaitForPodState(ctx context.Context, opts WaitForStatusOpti
return nil
}

//MapPortsToLocalhost runs a port-forwarder daemon process
// MapPortsToLocalhost runs a port-forwarder daemon process
func (kc KubeClient) MapPortsToLocalhost(ctx context.Context, opts PortMappingOptions) error {
stopChannel := make(chan struct{}, 1)
readyChannel := make(chan struct{})
Expand Down
2 changes: 1 addition & 1 deletion kube/helm/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
)

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

files := []*loader.BufferedFile{
Expand Down
2 changes: 1 addition & 1 deletion kube/resources/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
clusterIPHeadless = "None"
)

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

Expand Down
2 changes: 1 addition & 1 deletion utils/e2e/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func GoldenFile(name string) string {
return name + ".golden"
}

//Lines split output into lines
// Lines split output into lines
func Lines(output string) []string {
return strings.Split(strings.TrimSpace(output), "\n")
}
Expand Down

0 comments on commit bf1fd67

Please sign in to comment.