Fix comment.
This commit is contained in:
parent
cc77a81f8e
commit
b79ddcf05c
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ public class VmWatcher extends Component {
|
||||||
// Get existing CRs (VMs)
|
// Get existing CRs (VMs)
|
||||||
Set<String> known = new HashSet<>();
|
Set<String> known = new HashSet<>();
|
||||||
for (var version : vmOpApiVersions) {
|
for (var version : vmOpApiVersions) {
|
||||||
// Start a watcher for each existing CRD version.
|
// Get all known CR instances.
|
||||||
coa.getAPIResources(VM_OP_GROUP, version)
|
coa.getAPIResources(VM_OP_GROUP, version)
|
||||||
.getResources().stream()
|
.getResources().stream()
|
||||||
.filter(r -> Constants.VM_OP_KIND_VM.equals(r.getKind()))
|
.filter(r -> Constants.VM_OP_KIND_VM.equals(r.getKind()))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue