File: 0020-OVH-client-error-difference.patch

package info (click to toggle)
prometheus 2.53.3%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 25,364 kB
  • sloc: javascript: 2,423; yacc: 758; sh: 431; makefile: 231; lex: 189
file content (26 lines) | stat: -rw-r--r-- 778 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Martina Ferrari <tina@debian.org>
Date: Mon, 10 Feb 2025 00:31:50 +0000
Subject: OVH client error difference

Forwarded: not-needed
Last-Update: 2025-02-09

Upstream is using a new version of the OVH client that returns a
different error.
---
 discovery/ovhcloud/ovhcloud_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/discovery/ovhcloud/ovhcloud_test.go b/discovery/ovhcloud/ovhcloud_test.go
index 9c95bf9..53ec9b4 100644
--- a/discovery/ovhcloud/ovhcloud_test.go
+++ b/discovery/ovhcloud/ovhcloud_test.go
@@ -66,7 +66,7 @@ endpoint: %s
 
 	_, err := createClient(&conf)
 
-	require.ErrorContains(t, err, "missing authentication information")
+	require.ErrorContains(t, err, "missing application key")
 }
 
 func TestParseIPs(t *testing.T) {