Skip to content
Snippets Groups Projects
Commit 1fda202c authored by cuishuang's avatar cuishuang
Browse files

all: fix some typos


Signed-off-by: default avatarcuishuang <imcusg@gmail.com>
parent 7e634c15
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ func createSourceGitCmdRun(cmd *cobra.Command, args []string) error { ...@@ -169,7 +169,7 @@ func createSourceGitCmdRun(cmd *cobra.Command, args []string) error {
} }
if sourceGitArgs.caFile != "" && u.Scheme == "ssh" { if sourceGitArgs.caFile != "" && u.Scheme == "ssh" {
return fmt.Errorf("specifing a CA file is not supported for Git over SSH") return fmt.Errorf("specifying a CA file is not supported for Git over SSH")
} }
if sourceGitArgs.recurseSubmodules && sourceGitArgs.gitImplementation == sourcev1.LibGit2Implementation { if sourceGitArgs.recurseSubmodules && sourceGitArgs.gitImplementation == sourcev1.LibGit2Implementation {
......
...@@ -302,7 +302,7 @@ func assertGoldenTemplateFile(goldenFile string, templateValues map[string]strin ...@@ -302,7 +302,7 @@ func assertGoldenTemplateFile(goldenFile string, templateValues map[string]strin
expectedOutput = string(goldenFileContents) expectedOutput = string(goldenFileContents)
} }
if assertErr := assertGoldenValue(expectedOutput)(output, err); assertErr != nil { if assertErr := assertGoldenValue(expectedOutput)(output, err); assertErr != nil {
// Update the golden files if comparision fails and the update flag is set. // Update the golden files if comparison fails and the update flag is set.
if *update && output != "" { if *update && output != "" {
// Skip update if there are template values. // Skip update if there are template values.
if len(templateValues) > 0 { if len(templateValues) > 0 {
......
...@@ -71,7 +71,7 @@ func generate(base string, options Options) error { ...@@ -71,7 +71,7 @@ func generate(base string, options Options) error {
// In such environments they normally add `.cluster.local` and `.local` // In such environments they normally add `.cluster.local` and `.local`
// suffixes to `no_proxy` variable in order to prevent cluster-local // suffixes to `no_proxy` variable in order to prevent cluster-local
// traffic from going through http proxy. Without fully specified // traffic from going through http proxy. Without fully specified
// domain they need to mention `notifications-controller` explicity in // domain they need to mention `notifications-controller` explicitly in
// `no_proxy` variable after debugging http proxy logs. // `no_proxy` variable after debugging http proxy logs.
options.EventsAddr = fmt.Sprintf("http://%s.%s.svc.%s/", options.NotificationController, options.Namespace, options.ClusterDomain) options.EventsAddr = fmt.Sprintf("http://%s.%s.svc.%s/", options.NotificationController, options.Namespace, options.ClusterDomain)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment