Fix import names

This commit is contained in:
Bryce Lampe
2024-04-26 12:24:18 -07:00
parent f2e43df5af
commit 66f98e5aa2
2 changed files with 9 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ import (
"github.com/regclient/regclient/config"
"github.com/sirupsen/logrus"
goprovider "github.com/pulumi/pulumi-go-provider"
provider "github.com/pulumi/pulumi-go-provider"
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
"github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"
)
@@ -171,18 +171,18 @@ func (c *cli) tail(ctx context.Context) {
s := bufio.NewScanner(c.r)
for s.Scan() {
text := s.Text()
goprovider.GetLogger(ctx).InfoStatus(text)
provider.GetLogger(ctx).InfoStatus(text)
_, _ = b.WriteString(text + "\n")
}
goprovider.GetLogger(ctx).InfoStatus("") // clear confusing "DONE" statements.
provider.GetLogger(ctx).InfoStatus("") // clear confusing "DONE" statements.
if c.dumplogs {
// Persist the full Docker output on error for easier debugging.
if b.Len() > 0 {
goprovider.GetLogger(ctx).Info(b.String())
provider.GetLogger(ctx).Info(b.String())
}
if c.err.Len() > 0 {
goprovider.GetLogger(ctx).Error(c.err.String())
provider.GetLogger(ctx).Error(c.err.String())
}
}
}