Skip to content

Commit

Permalink
Include host in kubectl command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Katharine committed Jun 21, 2019
1 parent a5c6758 commit e1339ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prow/cmd/deck/static/prow/prow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ function redraw(fz: FuzzySearch): void {
}

function createRerunCell(modal: HTMLElement, rerunElement: HTMLElement, prowjob: string): HTMLTableDataCellElement {
const url = `/rerun?prowjob=${prowjob}`;
const url = `${location.protocol}//${location.host}/rerun?prowjob=${prowjob}`;
const c = document.createElement("td");
const i = icon.create("refresh", "Show instructions for rerunning this job");
const login = getCookieByName("github_login");
Expand Down

0 comments on commit e1339ae

Please sign in to comment.