Skip to content

Commit

Permalink
[cherry-pick] Remove Google Analytics (#58) (#59)
Browse files Browse the repository at this point in the history
/cherry-pick

Signed-off-by: Tamal Saha <[email protected]>

Co-authored-by: Tamal Saha <[email protected]>
  • Loading branch information
1gtm and tamalsaha authored Nov 24, 2021
1 parent e563da6 commit 759c04e
Show file tree
Hide file tree
Showing 225 changed files with 8,563 additions and 19,363 deletions.
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ go 1.15

require (
github.com/spf13/cobra v1.1.3
go.bytebuilders.dev/license-verifier/kubernetes v0.9.3
gomodules.xyz/flags v0.1.2
go.bytebuilders.dev/license-verifier/kubernetes v0.9.5
gomodules.xyz/flags v0.1.3
gomodules.xyz/go-sh v0.1.0
gomodules.xyz/logs v0.0.4
gomodules.xyz/logs v0.0.6
gomodules.xyz/x v0.0.8
k8s.io/api v0.21.1
k8s.io/apimachinery v0.21.1
k8s.io/client-go v0.21.1
k8s.io/klog/v2 v2.8.0
kmodules.xyz/client-go v0.0.0-20210928133955-8df5bb467db6
kmodules.xyz/custom-resources v0.0.0-20211007080833-72bd9e8cae6e
kmodules.xyz/offshoot-api v0.0.0-20210829122105-6f4d481b0c61
kubedb.dev/apimachinery v0.21.1-0.20210915153024-84659c4a8fca
kmodules.xyz/client-go v0.0.0-20211122091731-6c471b24a4ea // indirect
kmodules.xyz/custom-resources v0.0.0-20211122142737-3bf3dbd8ac52
kmodules.xyz/offshoot-api v0.0.0-20211103060642-3e217667cf41
kubedb.dev/apimachinery v0.23.0
stash.appscode.dev/apimachinery v0.16.0
)

Expand Down
80 changes: 43 additions & 37 deletions go.sum

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions pkg/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"github.com/spf13/cobra"
v "gomodules.xyz/x/version"
clientsetscheme "k8s.io/client-go/kubernetes/scheme"
"kmodules.xyz/client-go/tools/cli"
)

var SupportedProducts = []string{"stash-enterprise", "kubedb-ext-stash"}
Expand All @@ -36,13 +35,10 @@ func NewRootCmd() *cobra.Command {
Long: `Redis backup & restore plugin for Stash by AppsCode. For more information, visit here: https://stash.run`,
DisableAutoGenTag: true,
PersistentPreRunE: func(c *cobra.Command, args []string) error {
cli.SendAnalytics(c, v.Version.Version)

return scheme.AddToScheme(clientsetscheme.Scheme)
},
}
rootCmd.PersistentFlags().StringVar(&licenseApiService, "license-apiservice", "", "Name of ApiService used to expose License endpoint")
rootCmd.PersistentFlags().BoolVar(&cli.EnableAnalytics, "enable-analytics", cli.EnableAnalytics, "Send analytical events to Google Analytics")

rootCmd.AddCommand(v.NewCmdVersion())
rootCmd.AddCommand(NewCmdBackup())
Expand Down
9 changes: 0 additions & 9 deletions vendor/github.com/google/uuid/.travis.yml

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/google/uuid/CONTRIBUTING.md

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/github.com/google/uuid/CONTRIBUTORS

This file was deleted.

27 changes: 0 additions & 27 deletions vendor/github.com/google/uuid/LICENSE

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/google/uuid/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions vendor/github.com/google/uuid/dce.go

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/github.com/google/uuid/doc.go

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/google/uuid/go.mod

This file was deleted.

53 changes: 0 additions & 53 deletions vendor/github.com/google/uuid/hash.go

This file was deleted.

38 changes: 0 additions & 38 deletions vendor/github.com/google/uuid/marshal.go

This file was deleted.

Loading

0 comments on commit 759c04e

Please sign in to comment.