Skip to content

Commit

Permalink
remove groups entirely
Browse files Browse the repository at this point in the history
Signed-off-by: William Blankenship <git@blankenship.io>
  • Loading branch information
William Blankenship committed Apr 27, 2020
1 parent 98761bc commit 13c96af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions builder/config_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ type Config struct {
Order dist.Order `toml:"order"`
Stack StackConfig `toml:"stack"`
Lifecycle LifecycleConfig `toml:"lifecycle"`
groups []interface{}
}

type BuildpackConfig struct {
Expand Down Expand Up @@ -125,9 +124,5 @@ func parseConfig(reader io.Reader, relativeToDir, path string) (Config, []string
builderConfig.Lifecycle.URI = uri
}

if len(builderConfig.groups) > 0 {
warnings = append(warnings, fmt.Sprintf("%s field is obsolete in favor of %s", style.Symbol("groups"), style.Symbol("order")))
}

return builderConfig, warnings, nil
}

0 comments on commit 13c96af

Please sign in to comment.