Skip to content

Commit

Permalink
MB-46647: Set appropriate language_compatibility on /function endpoint
Browse files Browse the repository at this point in the history
Change-Id: I039b52d3d4956858b26f1301b1e0c19f3ecb52ae
Reviewed-on: http://review.couchbase.org/c/eventing/+/154759
Reviewed-by: Jeelan Basha Poola <jeelan.poola@couchbase.com>
Reviewed-by: CI Bot
Tested-by: Vinayaka Kamath <vinayaka.kamath@couchbase.com>
(cherry picked from commit 2d01166)
Reviewed-on: http://review.couchbase.org/c/eventing/+/155909
Well-Formed: Restriction Checker
Tested-by: <abhishek.jindal@couchbase.com>
  • Loading branch information
Vinayaka R Kamath authored and abhijpes committed Jul 29, 2021
1 parent 7a14bee commit eda6c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_manager/http_handlers.go
Expand Up @@ -3214,7 +3214,7 @@ func (m *ServiceMgr) functionsHandler(w http.ResponseWriter, r *http.Request) {
}

if _, ok := app.Settings["language_compatibility"]; !ok {
app.Settings["language_compatibility"] = common.LanguageCompatibility[len(common.LanguageCompatibility)-1]
app.Settings["language_compatibility"] = common.LanguageCompatibility[0]
}

runtimeInfo := m.savePrimaryStore(&app)
Expand Down

0 comments on commit eda6c8d

Please sign in to comment.