From e479431e0df93c8205ba2fc0acaec29c156f88aa Mon Sep 17 00:00:00 2001 From: Lei Jitang Date: Sat, 5 Oct 2024 18:33:12 +0800 Subject: [PATCH] core/runtime: Fix a typo in error message `boostrap.json` should be `bootstrap.json` Signed-off-by: Lei Jitang --- core/runtime/v2/shim.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/runtime/v2/shim.go b/core/runtime/v2/shim.go index 766065003..ad10b1b24 100644 --- a/core/runtime/v2/shim.go +++ b/core/runtime/v2/shim.go @@ -102,7 +102,7 @@ func loadShim(ctx context.Context, bundle *Bundle, onClose func()) (_ ShimInstan params, err := restoreBootstrapParams(bundle.Path) if err != nil { - return nil, fmt.Errorf("failed to read boostrap.json when restoring bundle %q: %w", bundle.ID, err) + return nil, fmt.Errorf("failed to read bootstrap.json when restoring bundle %q: %w", bundle.ID, err) } conn, err := makeConnection(ctx, bundle.ID, params, onCloseWithShimLog)