commit | d213969cb2744a8cab807c7b4e0ec5c8b6a2ab8e | [log] [tgz] |
---|---|---|
author | Ildar Svetlov <isvetlov@mirantis.com> | Tue Nov 10 15:16:16 2020 +0400 |
committer | Ildar Svetlov <isvetlov@mirantis.com> | Tue Nov 10 15:16:16 2020 +0400 |
tree | 2993d8f1989ea5f93e366921296aecd547d6eb0b | |
parent | 9ae28bafbe89a6dcc1d05858943d2e127f7e599e [diff] [blame] |
Bring partially https://github.com/gophercloud/gophercloud/pull/1221 Change-Id: I185e1991b68a22b387d043bc32bef79cd4c3dc4e Related-To: PRODX-8893
diff --git a/openstack/orchestration/v1/stacks/template_test.go b/openstack/orchestration/v1/stacks/template_test.go index 72368c3..2e94d25 100644 --- a/openstack/orchestration/v1/stacks/template_test.go +++ b/openstack/orchestration/v1/stacks/template_test.go
@@ -99,7 +99,7 @@ - {uuid: 11111111-1111-1111-1111-111111111111}` th.Mux.HandleFunc(urlparsed.Path, func(w http.ResponseWriter, r *http.Request) { th.TestMethod(t, r, "GET") - w.Header().Set("Content-Type", "application/jason") + w.Header().Set("Content-Type", "application/json") w.WriteHeader(http.StatusOK) fmt.Fprintf(w, myNovaContent) })