Merge pull request #14770 from spowelljr/fixTypos2

Fix typos
pull/14782/head
Steven Powell 2022-08-10 16:19:13 -07:00 committed by GitHub
commit 1f6cde899f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ func (api *LocalClient) Create(h *host.Host) error {
{
"bootstrapping certificates",
func() error {
// Lock is needed to avoid race conditiion in parallel Docker-Env test because issue #10107.
// Lock is needed to avoid race condition in parallel Docker-Env test because issue #10107.
// CA cert and client cert should be generated atomically, otherwise might cause bad certificate error.
lockErr := api.flock.LockWithTimeout(time.Second * 5)
if lockErr != nil {

View File

@ -134,7 +134,7 @@ func TestTranslationFilesValid(t *testing.T) {
func distinctVariables(line string) []string {
re := regexp.MustCompile(`{{\..+?}}`)
// get all the variables from the string (possiible duplicates)
// get all the variables from the string (possible duplicates)
variables := re.FindAllString(line, -1)
distinctMap := make(map[string]bool)