Re: [PATCH] Skip virNWFilterTechDriver when validating API naming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09.05.2013 15:12, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> The virNWFilterTechDriver struct is an internal only driver
> API with no public API equivalent. It should be skipped by
> the 'check-driverimpls' test case
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/check-driverimpls.pl | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/check-driverimpls.pl b/src/check-driverimpls.pl
> index e385de0..17e2b48 100755
> --- a/src/check-driverimpls.pl
> +++ b/src/check-driverimpls.pl
> @@ -68,7 +68,8 @@ while (<>) {
>              }
>          }
>      } elsif (/^(?:static\s+)?(vir(?:\w+)?Driver)\s+/) {
> -        next if $1 eq "virNWFilterCallbackDriver";
> +        next if $1 eq "virNWFilterCallbackDriver" ||
> +                $1 eq "virNWFilterTechDriver";
>          $intable = 1;
>          $table = $1;
>      }
> 

ACK

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]