From b11917e559dc986744849c5533d23e3fa63bc6a8 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Mon, 9 Sep 2024 09:28:32 +0200 Subject: [PATCH] Fix path --- bundle/deploy/files/upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/deploy/files/upload.go b/bundle/deploy/files/upload.go index 0f531299..e9b0099d 100644 --- a/bundle/deploy/files/upload.go +++ b/bundle/deploy/files/upload.go @@ -29,7 +29,7 @@ func (m *upload) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnostics { b.Files, err = sync.RunOnce(ctx) if err != nil { if errors.Is(err, fs.ErrPermission) { - return permissions.ReportPossiblePermissionDenied(ctx, b, b.Config.Workspace.StatePath) + return permissions.ReportPossiblePermissionDenied(ctx, b, b.Config.Workspace.FilePath) } return diag.FromErr(err) }