Skip to content

Commit

Permalink
Fix HP session_key thanks to @utsl42
Browse files Browse the repository at this point in the history
  • Loading branch information
rockyluke committed Jul 4, 2018
1 parent 163cf8f commit 4686e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hp/ilo.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (d *KvmHpDriver) Viewer() (string, error) {
}

m := f.(map[string]interface{})
sessionKey := m["sessionKey"].(string)
sessionKey := m["session_key"].(string)

cookie := http.Cookie{Name: "sessionKey", Value: sessionKey}
req, _ := http.NewRequest("GET", "https://"+d.Host+"/html/jnlp_template.html", nil)
Expand Down

0 comments on commit 4686e3d

Please sign in to comment.