Skip to content

Commit

Permalink
feat(swagger): extends sm agent /node_info' with data_directory`. (#…
Browse files Browse the repository at this point in the history
…4168)

This extends `/node_info` response of scylla manager agent with `data_directory` field which
should contain first entry from the `data_file_directories` list of
scylladb configuration.

Refs: #4130
  • Loading branch information
VAveryanov8 authored Dec 16, 2024
1 parent b501137 commit 2a0edaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v3/swagger/agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -1683,6 +1683,10 @@
"enable_tablets": {
"description": "Whether tablets are enabled.",
"type": "boolean"
},
"data_directory": {
"description": "First entry from `data_file_directories` list from scylla config file.",
"type": "string"
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions v3/swagger/gen/agent/models/node_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2a0edaf

Please sign in to comment.