Commit 1ef5ed1
committed
fix: cache util fixes
The checking functions in the cache utils had ambiguous logging entries:
I0925 07:48:34.403937 5756 util.go:79] schedulerPodName is responsible to Node k3d-volcano-dev-agent-2
Since in single scheduler scenarios the schedulerPodname is not
populated. These entries are intimidating, because:
- It's not clear that we are in caching territory so no things to
be afraid.
- Looks weird that there is an empty string after schedulerPodName.
Furthermore, if it's empty the consistent hash circle is not needed
to be checked.
Signed-off-by: Hajnal Máté <[email protected]>1 parent ea5e83d commit 1ef5ed1
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
69 | 80 | | |
70 | 81 | | |
71 | 82 | | |
| |||
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
85 | 102 | | |
86 | 103 | | |
87 | 104 | | |
| |||
0 commit comments