Skip to content

Commit

Permalink
Fix plugin load_db script
Browse files Browse the repository at this point in the history
Summary: Query was broken because of a missing field in the query params.

Test Plan: Ran the job on OSS cloud, verified that new TLS flag properly gets loaded

Reviewers: vihang

Reviewed By: vihang

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D11234

GitOrigin-RevId: a0de08e
  • Loading branch information
aimichelle authored and copybaranaut committed Apr 15, 2022
1 parent 420fd79 commit a5bbb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud/plugin/load_db/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func addConfigs(plugin *controllers.Plugin, retention *controllers.RetentionPlug
insertRetention := `INSERT INTO data_retention_plugin_releases
(plugin_id, version, configurations, documentation_url,
default_export_url, allow_custom_export_url, preset_scripts, allow_insecure_tls)
VALUES ($1, $2, $3, $4, $5, $6, $7)`
VALUES ($1, $2, $3, $4, $5, $6, $7, $8)`
_, err = db.Exec(insertRetention,
plugin.ID, plugin.Version, retention.Configurations, retention.DocumentationURL,
retention.DefaultExportURL, retention.AllowCustomExportURL, retention.PresetScripts, retention.AllowInsecureTLS,
Expand Down

0 comments on commit a5bbb03

Please sign in to comment.