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
102102invalidRequiredVersion = " Invalid required version '%{version}' for resource '%{resource}'"
103103foundNonAdapterResources = " Found %{count} non-adapter resources"
104104foundAdaptedResourceWithVersion = " Found adapted resource '%{resource}' with version %{version}"
105+ invalidVersionForResource = " Invalid version '%{version}' for resource '%{resource}'"
105106
106107[dscresources .commandResource ]
107108invokeGet = " Invoking get for '%{resource}'"
@@ -527,7 +528,6 @@ validSchemaUrisAre = "Valid schema URIs are"
527528extension = " Extension"
528529unsupportedCapability = " does not support capability"
529530setting = " Setting"
530- invalidRequiredVersion = " Invalid required version"
531531
532532[progress ]
533533failedToSerialize = " Failed to serialize progress JSON: %{json}"
Original file line number Diff line number Diff line change @@ -503,12 +503,6 @@ impl ResourceDiscovery for CommandDiscovery {
503503 }
504504 }
505505 }
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) ) ;
512506 }
513507 if required_resources. values ( ) . all ( |& v| v) {
514508 return Ok ( found_resources) ;
You can’t perform that action at this time.
0 commit comments