1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

Update comments in shared.build.Builder

They were previously referring to fields with different names. New comments are taken from the type declaration of `shared.build.script.Build` and what seems appropriate for `shared.build.repo.Repo` (sending separate PR).
This commit is contained in:
Henrik Jonsson 2015-10-08 10:08:18 +02:00
parent db85b952eb
commit a9366b7720

View File

@ -41,11 +41,11 @@ func New(dockerClient *docker.Client) *Builder {
// Builder represents a build process being prepared
// to run.
type Builder struct {
// Image specifies the Docker Image that will be
// used to virtualize the Build process.
// Build specifies the configuration details for building,
// testing and deploying code.
Build *script.Build
// Source specifies the Repository path of the code
// Repo specifies the repository details for the code that
// that we are testing.
//
// The source repository may be a local repository