Skip to content

Commit

Permalink
Fix formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Shambugouda annigeri committed Aug 10, 2022
1 parent 830c054 commit 5a20f07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions kubectl-fdb/cmd/k8s_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
ctx "context"
"fmt"
"strings"

fdbv1beta1 "github.com/FoundationDB/fdb-kubernetes-operator/api/v1beta1"
fdbv1beta2 "github.com/FoundationDB/fdb-kubernetes-operator/api/v1beta2"
"github.com/FoundationDB/fdb-kubernetes-operator/internal"
Expand Down
9 changes: 5 additions & 4 deletions kubectl-fdb/cmd/profile_analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ package cmd
import (
"bytes"
"context"
"log"
"strconv"
"text/template"

"github.com/spf13/cobra"
batchv1 "k8s.io/api/batch/v1"
"k8s.io/cli-runtime/pkg/genericclioptions"
"sigs.k8s.io/controller-runtime/pkg/client"
"strconv"
"text/template"

yamlutil "k8s.io/apimachinery/pkg/util/yaml"
"log"
)

type profileConfig struct {
Expand Down Expand Up @@ -117,7 +118,7 @@ kubectl fdb analyze-profile -c cluster-1 --start-time "01:01 20/07/2022 BST" --e
return cmd
}

func runProfileAnalyzer(kubeClient client.Client, namespace string, clusterName string, startTime string, endTime string, topRequests int, templateName string) error {
func runProfileAnalyzer(kubeClient client.Client, namespace string, clusterName string, startTime string, endTime string, topRequests int, templateName string) error {
pc := profileConfig{
Namespace: namespace,
ClusterName: clusterName,
Expand Down

0 comments on commit 5a20f07

Please sign in to comment.