Merge pull request #24843 from kuritonasu/master

Fixed minor grammatical errors
This commit is contained in:
Daniel Dreier 2020-05-04 15:57:59 -07:00 committed by GitHub
commit dec1244852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -657,7 +657,7 @@ func (b *Remote) Operation(ctx context.Context, op *backend.Operation) (*backend
"workspace %s not found\n\n"+ "workspace %s not found\n\n"+
"The configured \"remote\" backend returns '404 Not Found' errors for resources\n"+ "The configured \"remote\" backend returns '404 Not Found' errors for resources\n"+
"that do not exist, as well as for resources that a user doesn't have access\n"+ "that do not exist, as well as for resources that a user doesn't have access\n"+
"to. When the resource does exists, please check the rights for the used token.", "to. If the resource does exist, please check the rights for the used token.",
name, name,
) )
default: default:
@ -863,7 +863,7 @@ func generalError(msg string, err error) error {
fmt.Sprintf("%s: %v", msg, err), fmt.Sprintf("%s: %v", msg, err),
`The configured "remote" backend returns '404 Not Found' errors for resources `+ `The configured "remote" backend returns '404 Not Found' errors for resources `+
`that do not exist, as well as for resources that a user doesn't have access `+ `that do not exist, as well as for resources that a user doesn't have access `+
`to. If the resource does exists, please check the rights for the used token.`, `to. If the resource does exist, please check the rights for the used token.`,
)) ))
return diags.Err() return diags.Err()
default: default: