Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinlindemberg committed Aug 21, 2020
1 parent e46cbf4 commit 51c8e42
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/features/copy_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ nginxC, err := GenericContainer(ctx, GenericContainerRequest{
Started: true,
})

fileContent, err := ioutil.ReadFile("./testresources/hello.sh")
if err != nil {
t.Fatal(err)
}
nginxC.CopyFileToContainer(ctx, "/", "hello_copy.sh", fileContent, 700)
nginxC.CopyFileToContainer(ctx, "./testresources/hello.sh", "/hello_copy.sh", fileContent, 700)
```

0 comments on commit 51c8e42

Please sign in to comment.