Skip to content

Commit 444dd3d

Browse files
committed
nolint:unused
1 parent 676518d commit 444dd3d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pkg/github/tools.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ func GetDefaultToolsetIDs() []string {
159159
}
160160
}
161161

162-
func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetGQLClientFn, _ raw.GetRawClientFn, t translations.TranslationHelperFunc, contentWindowSize int, flags FeatureFlags) *toolsets.ToolsetGroup {
162+
//nolint:unused
163+
func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetGQLClientFn, getRawClient raw.GetRawClientFn, t translations.TranslationHelperFunc, contentWindowSize int, flags FeatureFlags) *toolsets.ToolsetGroup {
163164
tsg := toolsets.NewToolsetGroup(readOnly)
164165

165166
// Define all available features with their default state (disabled)
@@ -382,7 +383,9 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
382383
}
383384

384385
// InitDynamicToolset creates a dynamic toolset that can be used to enable other toolsets, and so requires the server and toolset group as arguments
385-
func InitDynamicToolset(_ *mcp.Server, tsg *toolsets.ToolsetGroup, t translations.TranslationHelperFunc) *toolsets.Toolset {
386+
//
387+
//nolint:unused
388+
func InitDynamicToolset(s *mcp.Server, tsg *toolsets.ToolsetGroup, t translations.TranslationHelperFunc) *toolsets.Toolset {
386389
// Create a new dynamic toolset
387390
// Need to add the dynamic toolset last so it can be used to enable other toolsets
388391
dynamicToolSelection := toolsets.NewToolset(ToolsetMetadataDynamic.ID, ToolsetMetadataDynamic.Description).

0 commit comments

Comments
 (0)