Fix regression: Wrong arguments to FPrintln
This commit is contained in:
parent
cd476063c3
commit
ed00ef7aff
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ var runtimeResources embed.FS
|
||||||
// Update installs or updates runtime components needed by this component.
|
// Update installs or updates runtime components needed by this component.
|
||||||
func (instances *Instances) Update(ctx context.Context, progress io.Writer) error {
|
func (instances *Instances) Update(ctx context.Context, progress io.Writer) error {
|
||||||
err := unpack.InstallDir(instances.Config.Paths.RuntimeDir(), "runtime", runtimeResources, func(dst, src string) {
|
err := unpack.InstallDir(instances.Config.Paths.RuntimeDir(), "runtime", runtimeResources, func(dst, src string) {
|
||||||
fmt.Fprintln(progress, ctx, "[copy] %s\n", dst)
|
fmt.Fprintf(progress, "[copy] %s\n", dst)
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errBootstrapFailedRuntime.Wrap(err)
|
return errBootstrapFailedRuntime.Wrap(err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue