Skip to content

Commit 90cede8

Browse files
authored
Fix spelling mistakes (GoogleContainerTools#199)
1 parent b67d65d commit 90cede8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/BuildImageMojo.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ private void handleRegistryUnauthorizedException(
332332
// No permissions for registry/repository.
333333
throwMojoExecutionExceptionWithHelpMessage(
334334
registryUnauthorizedException,
335-
"make sure your have permissions for "
335+
"make sure you have permissions for "
336336
+ registryUnauthorizedException.getImageReference());
337337

338338
} else if ((buildConfiguration.getCredentialHelperNames() == null
@@ -341,7 +341,7 @@ private void handleRegistryUnauthorizedException(
341341
|| !buildConfiguration
342342
.getKnownRegistryCredentials()
343343
.has(registryUnauthorizedException.getRegistry()))) {
344-
// No credential helpers not defined.
344+
// No credential helpers defined.
345345
throwMojoExecutionExceptionWithHelpMessage(
346346
registryUnauthorizedException,
347347
"set a credential helper name with the configuration 'credHelpers' or "

‎jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/BuildImageMojoTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void testBuildImage_executionException_registryUnauthorizedException_stat
143143

144144
} catch (MojoExecutionException ex) {
145145
Assert.assertEquals(
146-
"Build image failed, perhaps you should make sure your have permissions for someregistry/somerepository",
146+
"Build image failed, perhaps you should make sure you have permissions for someregistry/somerepository",
147147
ex.getMessage());
148148
Assert.assertEquals(mockRegistryUnauthorizedException, ex.getCause());
149149
}

0 commit comments

Comments
 (0)