A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/kubernetes-sigs/kubebuilder/commit/cd90bd82a2d692fbf63ba0231699e2e3dc0b6a08 below:

inline getKubebuilderVersion into cli.WithCliVersion setu… · kubernetes-sigs/kubebuilder@cd90bd8 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+3

-3

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+3

-3

lines changed Original file line number Diff line number Diff line change

@@ -55,7 +55,7 @@ func Run() {

55 55

c, err := cli.New(

56 56

cli.WithCommandName("kubebuilder"),

57 57

cli.WithVersion(versionString()),

58 -

cli.WithCliVersion(GetKubebuilderVersion()),

58 +

cli.WithCliVersion(getKubebuilderVersion()),

59 59

cli.WithPlugins(

60 60

golangv4.Plugin{},

61 61

gov4Bundle,

Original file line number Diff line number Diff line change

@@ -63,8 +63,8 @@ func versionString() string {

63 63

})

64 64

}

65 65 66 -

// GetKubebuilderVersion returns only the CLI version string

67 -

func GetKubebuilderVersion() string {

66 +

// getKubebuilderVersion returns only the CLI version string

67 +

func getKubebuilderVersion() string {

68 68

if kubeBuilderVersion == unknown {

69 69

if info, ok := debug.ReadBuildInfo(); ok && info.Main.Version != "" {

70 70

kubeBuilderVersion = info.Main.Version

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4