From 2dc9015a458cf2678b6afde8cdf29886eec5fd47 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Wed, 4 Dec 2024 14:12:57 +0100 Subject: [PATCH] Use filepath --- server/support_packet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/support_packet.go b/server/support_packet.go index e9908be9..c9e3e2c6 100644 --- a/server/support_packet.go +++ b/server/support_packet.go @@ -1,7 +1,7 @@ package main import ( - "path" + "path/filepath" "github.com/hashicorp/go-multierror" "github.com/pkg/errors" @@ -53,7 +53,7 @@ func (p *Plugin) GenerateSupportData(_ *plugin.Context) ([]*model.FileData, erro } return []*model.FileData{{ - Filename: path.Join(manifest.Id, "diagnostics.yaml"), + Filename: filepath.Join(manifest.Id, "diagnostics.yaml"), Body: b, }}, result.ErrorOrNil() }