Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Improve code format for comment #1018

Merged
merged 1 commit into from
Apr 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/kubeless/autoscale/autoscale.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

//AutoscaleCmd contains first-class command for autoscale
// AutoscaleCmd contains first-class command for autoscale
var AutoscaleCmd = &cobra.Command{
Use: "autoscale SUBCOMMAND",
Short: "manage autoscale to function on Kubeless",
Expand Down Expand Up @@ -57,7 +57,7 @@ func getHorizontalAutoscaleDefinition(name, ns, metric string, min, max int32, v
{
Type: v2beta1.ResourceMetricSourceType,
Resource: &v2beta1.ResourceMetricSource{
Name: v1.ResourceCPU,
Name: v1.ResourceCPU,
TargetAverageUtilization: &i32,
},
},
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubeless/autoscale/autoscaleList_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestAutoscaleList(t *testing.T) {
{
Type: av2alpha1.ResourceMetricSourceType,
Resource: &av2alpha1.ResourceMetricSource{
Name: v1.ResourceCPU,
Name: v1.ResourceCPU,
TargetAverageUtilization: &targetAverageUtilization,
},
},
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubeless/completion/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/spf13/cobra"
)

//CompletionCmd contains first-class command for completion
// CompletionCmd contains first-class command for completion
var CompletionCmd = &cobra.Command{
Use: "completion [shell]",
Short: "Output shell completion code for the specified shell.",
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubeless/function/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
"k8s.io/client-go/kubernetes"
)

//FunctionCmd contains first-class command for function
// FunctionCmd contains first-class command for function
var FunctionCmd = &cobra.Command{
Use: "function SUBCOMMAND",
Short: "function specific operations",
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubeless/topic/topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/spf13/cobra"
)

//TopicCmd contains first-class command for topic
// TopicCmd contains first-class command for topic
var TopicCmd = &cobra.Command{
Use: "topic SUBCOMMAND",
Short: "manage message topics in Kubeless",
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubeless/trigger/trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/spf13/cobra"
)

//TriggerCmd contains first-class command for trigger
// TriggerCmd contains first-class command for trigger
var TriggerCmd = &cobra.Command{
Use: "trigger SUBCOMMAND",
Short: "trigger specific operations",
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubeless/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/spf13/cobra"
)

//VersionCmd contains first-class command for version
// VersionCmd contains first-class command for version
var VersionCmd = &cobra.Command{
Use: "version",
Short: "Print the version of Kubeless",
Expand Down