| 1 |
From: Mathias Gibbens <[email protected]> |
| 2 |
Description: Debian's reliance on GO111MODULE=off is causing net/http to revert to incompatible behavior when serving requests. Set the httpmuxgo GODEBUG environment variable to use modern behavior. |
| 3 |
Forwarded: not-needed |
| 4 |
diff --git a/fakelinstor/fakelinstor.go b/fakelinstor/fakelinstor.go |
| 5 |
index 16f3116..b9acca4 100644 |
| 6 |
--- a/fakelinstor/fakelinstor.go |
| 7 |
+++ b/fakelinstor/fakelinstor.go |
| 8 |
@@ -1,3 +1,5 @@ |
| 9 |
+//go:debug httpmuxgo121=0 |
| 10 |
+ |
| 11 |
// Package fakelinstor provides an in-memory HTTP test double for the LINSTOR |
| 12 |
// REST API. It implements a subset of the API against which a client.Client can |
| 13 |
// be pointed, so applications can exercise their LINSTOR interactions in tests |