-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17213 FIX oracle_sql: Fix ValueError: could not convert string to flo…
…at: '' SUP-21227 Change-Id: I1f087eb3b63bf001429d519637d3991cecad33e4
- Loading branch information
1 parent
8055b2e
commit 4da834a
Showing
3 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Title: oracle_sql: Fix ValueError: could not convert string to float: '' | ||
Class: fix | ||
Compatible: compat | ||
Component: checks | ||
Date: 1731419724 | ||
Edition: cre | ||
Level: 1 | ||
Version: 2.2.0p37 | ||
|
||
The agent plugin <code>mk_oracle</code> reports <code>elapsed:' for the elapsed time, if the</code>perl<code>or</code>bc<code>call fail. | ||
In the past, the plugin</code>oracle_sql` crashes with | ||
|
||
C+: | ||
elif key == "elapsed": | ||
instance.elapsed = float(line[1]) | ||
ValueError: could not convert string to float: '' | ||
C-: | ||
|
||
With this Werk, the crash is fixed. The missing metric <code>elapsed_time</code> will be omitted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters