@@ -24,14 +24,6 @@ import (
24
24
"github.com/sirupsen/logrus"
25
25
)
26
26
27
- var warnBaseIsExperimental = sync .OnceFunc (func () {
28
- logrus .Warn ("`base` is experimental" )
29
- })
30
-
31
- var warnFileIsExperimental = sync .OnceFunc (func () {
32
- logrus .Warn ("`provision[*].file` and `probes[*].file` are experimental" )
33
- })
34
-
35
27
// Embed will recursively resolve all "base" dependencies and update the
36
28
// template with the merged result. It also inlines all external provisioning
37
29
// and probe scripts.
@@ -114,7 +106,6 @@ func (tmpl *Template) embedAllBases(ctx context.Context, embedAll, defaultBase b
114
106
}
115
107
116
108
func (tmpl * Template ) embedBase (ctx context.Context , baseLocator limayaml.LocatorWithDigest , embedAll bool , seen map [string ]bool ) error {
117
- warnBaseIsExperimental ()
118
109
logrus .Debugf ("Embedding base %q in template %q" , baseLocator .URL , tmpl .Locator )
119
110
if err := tmpl .Unmarshal (); err != nil {
120
111
return err
@@ -632,7 +623,6 @@ func (tmpl *Template) embedAllScripts(ctx context.Context, embedAll bool) error
632
623
if p .File == nil {
633
624
continue
634
625
}
635
- warnFileIsExperimental ()
636
626
// Don't overwrite existing script. This should throw an error during validation.
637
627
if p .Script != "" {
638
628
continue
@@ -650,7 +640,6 @@ func (tmpl *Template) embedAllScripts(ctx context.Context, embedAll bool) error
650
640
if p .File == nil {
651
641
continue
652
642
}
653
- warnFileIsExperimental ()
654
643
newName := "script"
655
644
switch p .Mode {
656
645
case limayaml .ProvisionModeData :
0 commit comments