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

Commit

Permalink
gofmt files with go 1.19
Browse files Browse the repository at this point in the history
Prepare for future updates of Go, which may result in some changes in
formatting in GoDoc comments.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Jul 25, 2022
1 parent 8839c52 commit fb71f3b
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
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
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
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
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
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 fb71f3b

Please sign in to comment.