Commit 4a0e940
committed
refactor: use GetKeystoneAPIByName instead of label-based lookup
- Replace GetKeystoneAPI with GetKeystoneAPIByName in nova_controller.go
- use instance.Spec.KeystoneInstance directly instead of empty label map
- Remove TODO comment about changing the API usage.
- Update keystone-operator/api dependency to support new functionality
This provides a more direct and efficient way to get the KeystoneAPI
resource by name rather then searching by labels.
Commit message assisted by: claude-4-sonnet1 parent a68262c commit 4a0e940
3 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1649 | 1649 | | |
1650 | 1650 | | |
1651 | 1651 | | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1652 | + | |
1656 | 1653 | | |
1657 | 1654 | | |
1658 | 1655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments