Skip to content
Snippets Groups Projects
Commit 3d41c2aa authored by Priyan Sureshbabu's avatar Priyan Sureshbabu
Browse files

Removing escape chars from password

parent 8a95f4a8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -35,7 +35,7 @@ add_command 'set-grafana-password', 'Reset admin password for Grafana', 2 do |cm
log "Stopping Grafana for password update"
run_sv_command_for_service('stop', 'grafana')
 
status = GitlabCtl::Util.run_command("/opt/gitlab/embedded/bin/grafana-cli --homepath #{home_dir} admin reset-admin-password \'#{password}\'")
status = GitlabCtl::Util.run_command("/opt/gitlab/embedded/bin/grafana-cli --homepath #{home_dir} admin reset-admin-password '#{password}'")
 
log "Restarting Grafana."
run_sv_command_for_service('start', 'grafana')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment