Skip to content

Commit cc24902

Browse files
authored
Merge pull request #4034 from fengshunli/name
🐛 Fix golang documentation of the method LoadImageToKindClusterWithName scaffold in the e2e tests
2 parents 6bb9d29 + 68713d7 commit cc24902

File tree

10 files changed

+10
-10
lines changed
  • docs/book/src
    • cronjob-tutorial/testdata/project/test/utils
    • getting-started/testdata/project/test/utils
    • multiversion-tutorial/testdata/project/test/utils
    • reference
  • pkg/plugins/golang/v4/scaffolds/internal/templates/test/utils
  • testdata
    • project-v4-multigroup-with-deploy-image/test/utils
    • project-v4-multigroup/test/utils
    • project-v4-with-deploy-image/test/utils
    • project-v4-with-grafana/test/utils
    • project-v4/test/utils

10 files changed

+10
-10
lines changed

docs/book/src/cronjob-tutorial/testdata/project/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

docs/book/src/getting-started/testdata/project/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

docs/book/src/multiversion-tutorial/testdata/project/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

docs/book/src/reference/envtest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func InstallCertManager() error {
296296
return err
297297
}
298298
299-
// LoadImageToKindCluster loads a local docker image to the kind cluster
299+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
300300
func LoadImageToKindClusterWithName(name string) error {
301301
cluster := "kind"
302302
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

pkg/plugins/golang/v4/scaffolds/internal/templates/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func InstallCertManager() error {
128128
return err
129129
}
130130
131-
// LoadImageToKindCluster loads a local docker image to the kind cluster
131+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
132132
func LoadImageToKindClusterWithName(name string) error {
133133
cluster := "kind"
134134
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

testdata/project-v4-multigroup-with-deploy-image/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

testdata/project-v4-multigroup/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

testdata/project-v4-with-deploy-image/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

testdata/project-v4-with-grafana/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

testdata/project-v4/test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func InstallCertManager() error {
103103
return err
104104
}
105105

106-
// LoadImageToKindCluster loads a local docker image to the kind cluster
106+
// LoadImageToKindClusterWithName loads a local docker image to the kind cluster
107107
func LoadImageToKindClusterWithName(name string) error {
108108
cluster := "kind"
109109
if v, ok := os.LookupEnv("KIND_CLUSTER"); ok {

0 commit comments

Comments
 (0)