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

Commit

Permalink
Cleaning Up with go fmt and adding description
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hein <me@christopherhein.com>
  • Loading branch information
christopherhein committed Oct 4, 2018
1 parent 2dc90fd commit 9fe20ce
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion cmd/aws-service-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ var (
rootCmd = &cobra.Command{
Use: "aws-operator",
Short: "AWS Operator manages your AWS Infrastructure using CRDs and Operators",
Long: `TODO WRITE THIS`,
Long: `AWS Operator manages your AWS Infrastructure using CRDs and Operators.
With a single manifest file you can now model both the application and the resource necessary to run it.`,
Run: func(c *cobra.Command, _ []string) {
c.Help()
},
Expand Down
14 changes: 7 additions & 7 deletions code-generation/pkg/codegen/templates.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Config struct {
ClusterName string
Bucket string
AccountID string
Recorder record.EventRecorder
Recorder record.EventRecorder
}

// LoggingConfig defines the attributes for the logger
Expand Down
6 changes: 3 additions & 3 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session"
"time"

awsscheme "github.com/awslabs/aws-service-operator/pkg/client/clientset/versioned/scheme"
awsclient "github.com/awslabs/aws-service-operator/pkg/client/clientset/versioned/typed/service-operator.aws/v1alpha1"
"github.com/awslabs/aws-service-operator/pkg/config"
"github.com/awslabs/aws-service-operator/pkg/operator/cloudformationtemplate"
Expand All @@ -20,12 +21,11 @@ import (
corev1 "k8s.io/api/core/v1"
apiextensionsclient "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/kubernetes/scheme"
typedcorev1 "k8s.io/client-go/kubernetes/typed/core/v1"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
"k8s.io/client-go/tools/record"
typedcorev1 "k8s.io/client-go/kubernetes/typed/core/v1"
"k8s.io/client-go/kubernetes/scheme"
awsscheme "github.com/awslabs/aws-service-operator/pkg/client/clientset/versioned/scheme"
)

const controllerName = "aws-service-operator"
Expand Down

0 comments on commit 9fe20ce

Please sign in to comment.