Skip to content

Commit

Permalink
chore: advertise server features in version endpoint (#2751)
Browse files Browse the repository at this point in the history
  • Loading branch information
atzoum committed Dec 1, 2022
1 parent a0fc4f5 commit 73fc7ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion info/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type Component struct {
var ServerComponent = Component{
Name: "server",
Features: []string{
"features",
"gzip-req-payload",
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"components": [
{
"name": "server",
"features": ["features"]
"features": ["gzip-req-payload"]
}
]
}
1 change: 1 addition & 0 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ func (r *Runner) versionInfo() map[string]interface{} {
"GitUrl": r.releaseInfo.GitURL,
"TransformerVersion": transformer.GetVersion(),
"DatabricksVersion": misc.GetDatabricksVersion(),
"Features": info.ServerComponent.Features,
}
}

Expand Down

0 comments on commit 73fc7ea

Please sign in to comment.