Bump the other group across 1 directory with 13 updates (#152)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bryce Lampe <bryce@pulumi.com>
This commit is contained in:
dependabot[bot]
2024-07-12 16:40:59 -07:00
committed by GitHub
parent 78057473ac
commit 724836b5ef
10 changed files with 271 additions and 523 deletions

View File

@@ -128,9 +128,10 @@ func (c *cli) Build(
_ = printer.Wait()
for _, w := range printer.Warnings() {
b := &bytes.Buffer{}
fmt.Fprint(b, fmt.Sprint(w.Short))
_, _ = b.Write(w.Short)
for _, d := range w.Detail {
fmt.Fprintf(b, "\n%s", d)
_ = b.WriteByte('\n')
_, _ = b.Write(d)
}
provider.GetLogger(ctx).Warning(b.String())
}

View File

@@ -799,7 +799,7 @@ func TestValidateImageArgs(t *testing.T) {
_, err := args.validate(false)
assert.ErrorContains(t, err, "invalid value badexport")
assert.ErrorContains(t, err, "platform specifier component must match")
assert.ErrorContains(t, err, "OSAndVersion specifier component must matc")
assert.ErrorContains(t, err, "badcachefrom")
assert.ErrorContains(t, err, "badcacheto")
assert.ErrorContains(t, err, "invalid reference format")

View File

@@ -67,9 +67,11 @@ func TestSchema(t *testing.T) {
type annotator struct{}
func (annotator) Describe(_ any, _ string) {}
func (annotator) SetDefault(_, _ any, _ ...string) {}
func (annotator) SetToken(_, _ string) {}
func (annotator) Describe(_ any, _ string) {}
func (annotator) SetDefault(_, _ any, _ ...string) {}
func (annotator) SetToken(_, _ string) {}
func (annotator) AddAlias(_, _ string) {}
func (annotator) SetResourceDeprecationMessage(_ string) {}
func newServer(client Client) integration.Server {
p := NewBuildxProvider()