Skip to content

Commit

Permalink
fixed my error
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxuan Wang <wangxiaoxuan119@gmail.com>
  • Loading branch information
wangxiaoxuan273 committed Aug 4, 2023
1 parent 38b5211 commit bc6e391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example_copy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func ExampleCopy_localToRemote() {
}

// ExampleCopyArtifactManifestRemoteToLocal gives an example of copying
// an artifact manifest from a remote repository to local.
// an artifact manifest from a remote repository into memory.
func Example_copyArtifactManifestRemoteToLocal() {
src, err := remote.NewRepository(fmt.Sprintf("%s/source", remoteHost))
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func Example_pullImageFromRemoteRepository() {
}

// ExamplePushFilesToRemoteRepository gives an example of pushing local files
// to a remote repository into memory.
// to a remote repository.
func Example_pushFilesToRemoteRepository() {
// 0. Create a file store
fs, err := file.New("/tmp/")
Expand Down

0 comments on commit bc6e391

Please sign in to comment.