This reverts commit b741fe9005
.
This was backed out as problems started occuring shortly after
a large CLI pull request was merged. However, log analysis
shows that the CLI was unrelated to the problems.
8 lines
377 B
Ruby
8 lines
377 B
Ruby
# frozen_string_literal: true
|
|
|
|
UbiRodish.on("pg").run_is("reset-superuser-password", args: 1, invalid_args_message: "password is required") do |password|
|
|
post(project_path("location/#{@location}/postgres/#{@name}/reset-superuser-password"), "password" => password) do |data|
|
|
["Superuser password reset scheduled for PostgreSQL database with id: #{data["id"]}"]
|
|
end
|
|
end
|