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

Re: [libvirt] [PATCH] Skip virNWFilterTechDriver when validating API naming



On 09.05.2013 15:12, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> 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 redhat com>
> ---
>  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


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