File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ foundResourceWithVersion = "Found matching resource '%{resource}' version %{vers
102
102
invalidRequiredVersion = " Invalid required version '%{version}' for resource '%{resource}'"
103
103
foundNonAdapterResources = " Found %{count} non-adapter resources"
104
104
foundAdaptedResourceWithVersion = " Found adapted resource '%{resource}' with version %{version}"
105
+ invalidVersionForResource = " Invalid version '%{version}' for resource '%{resource}'"
105
106
106
107
[dscresources .commandResource ]
107
108
invokeGet = " Invoking get for '%{resource}'"
@@ -527,7 +528,6 @@ validSchemaUrisAre = "Valid schema URIs are"
527
528
extension = " Extension"
528
529
unsupportedCapability = " does not support capability"
529
530
setting = " Setting"
530
- invalidRequiredVersion = " Invalid required version"
531
531
532
532
[progress ]
533
533
failedToSerialize = " Failed to serialize progress JSON: %{json}"
Original file line number Diff line number Diff line change @@ -503,12 +503,6 @@ impl ResourceDiscovery for CommandDiscovery {
503
503
}
504
504
}
505
505
}
506
- } else {
507
- let version = match & filter. version ( ) {
508
- Some ( v) => ( * v) . to_string ( ) ,
509
- None => String :: new ( ) ,
510
- } ;
511
- return Err ( DscError :: ResourceNotFound ( filter. resource_type ( ) . to_string ( ) , version) ) ;
512
506
}
513
507
if required_resources. values ( ) . all ( |& v| v) {
514
508
return Ok ( found_resources) ;
You can’t perform that action at this time.
0 commit comments