Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
address feedback from #749
Browse files Browse the repository at this point in the history
a few minor typos
  • Loading branch information
mattnworb committed May 23, 2017
1 parent 44ee557 commit 75042a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void authForRefreshesCredsBeforeReadingConfigFile() throws Exception {
}

@Test
public void authForReturnsRegisteryAuthThatMatchesRegisteryName() throws Exception {
public void authForReturnsRegistryAuthThatMatchesRegistryName() throws Exception {
DockerConfigReader dockerCfgReader = mock(DockerConfigReader.class);
GoogleContainerRegistryCredRefresher googleContainerRegistryCredRefresher =
mock(GoogleContainerRegistryCredRefresher.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

import com.spotify.docker.client.gcr.GCloudProcess;
import com.spotify.docker.client.gcr.GoogleContainerRegistryCredRefresher;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
Expand Down Expand Up @@ -74,7 +72,7 @@ public void refreshThrowsIfSuccessCodeIsntReturnedFromCommand()
GoogleContainerRegistryCredRefresher googleContainerRegistryCredRefresher =
new GoogleContainerRegistryCredRefresher(gcloudProcess);

googleContainerRegistryCredRefresher.refresh();;
googleContainerRegistryCredRefresher.refresh();
}

}

0 comments on commit 75042a6

Please sign in to comment.