Skip to content

Commit

Permalink
opensearchapi: revert node info OpensearchVersion type change
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Hahn <[email protected]>
  • Loading branch information
Jakob3xD committed Mar 11, 2024
1 parent ee43c33 commit 80bd4fc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions opensearchapi/api_nodes-info.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ type NodesInfoHTTP struct {

// NodesInfoPlugin is a sub type of NodesInfo containing information about a plugin
type NodesInfoPlugin struct {
Name string `json:"name"`
Version string `json:"version"`
OpensearchVersion json.RawMessage `json:"opensearch_version"`
JavaVersion string `json:"java_version"`
Description string `json:"description"`
Classname string `json:"classname"`
CustomFoldername string `json:"custom_foldername"`
ExtendedPlugins []string `json:"extended_plugins"`
HasNativeController bool `json:"has_native_controller"`
Name string `json:"name"`
Version string `json:"version"`
OpensearchVersion string `json:"opensearch_version"`
JavaVersion string `json:"java_version"`
Description string `json:"description"`
Classname string `json:"classname"`
CustomFoldername string `json:"custom_foldername"`
ExtendedPlugins []string `json:"extended_plugins"`
HasNativeController bool `json:"has_native_controller"`
}

// NodesInfoIngest is a sub type of NodesInfo containing information about ingest processors
Expand Down

0 comments on commit 80bd4fc

Please sign in to comment.