Skip to content

Commit 9a52c26

Browse files
committed
Changes per feedback
1 parent ebec4de commit 9a52c26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/plugin/support_packet.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package plugin
22

33
import (
4-
"path"
4+
"path/filepath"
55

66
"github.com/hashicorp/go-multierror"
77
"github.com/pkg/errors"
@@ -33,13 +33,13 @@ func (p *Plugin) GenerateSupportData(_ *plugin.Context) ([]*model.FileData, erro
3333
ConnectedUserCount: connectedUserCount,
3434
IsOAuthConfigured: config.IsOAuthConfigured(),
3535
}
36-
b, err := yaml.Marshal(diagnostics)
36+
body, err := yaml.Marshal(diagnostics)
3737
if err != nil {
3838
return nil, errors.Wrap(err, "Failed to marshal diagnostics")
3939
}
4040

4141
return []*model.FileData{{
42-
Filename: path.Join(Manifest.Id, "diagnostics.yaml"),
43-
Body: b,
42+
Filename: filepath.Join(Manifest.Id, "diagnostics.yaml"),
43+
Body: body,
4444
}}, result.ErrorOrNil()
4545
}

0 commit comments

Comments
 (0)