We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5d67a70 + 932a8c1 commit 22c10daCopy full SHA for 22c10da
generate/generate.go
@@ -264,10 +264,6 @@ func New(os string) (generator Generator, err error) {
264
265
// NewFromSpec creates a configuration Generator from a given
266
// configuration.
267
-//
268
-// Deprecated: Replace with:
269
270
-// generator := Generator{Config: config}
271
func NewFromSpec(config *rspec.Spec) Generator {
272
envCache := map[string]int{}
273
if config != nil && config.Process != nil {
0 commit comments