Skip to content

Commit

Permalink
Merge pull request #668 from orisano/docs-fix-wrong
Browse files Browse the repository at this point in the history
docs: fix document on DoBuild
  • Loading branch information
cvgw authored Dec 21, 2019
2 parents 4fa1970 + cbba7ce commit 40ac05c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func Destination(opts *config.KanikoOptions, cacheKey string) (string, error) {
return fmt.Sprintf("%s:%s", cache, cacheKey), nil
}

// LocalSource retieves a source image from a local cache given cacheKey
// LocalSource retrieves a source image from a local cache given cacheKey
func LocalSource(opts *config.CacheOptions, cacheKey string) (v1.Image, error) {
cache := opts.CacheDir
if cache == "" {
Expand Down
2 changes: 1 addition & 1 deletion pkg/executor/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ func DoBuild(opts *config.KanikoOptions) (v1.Image, error) {
digestToCacheKey := make(map[string]string)
stageIdxToDigest := make(map[string]string)

// Parse dockerfile and unpack base image to root
// Parse dockerfile
stages, err := dockerfile.Stages(opts)
if err != nil {
return nil, err
Expand Down

0 comments on commit 40ac05c

Please sign in to comment.