Skip to content

Commit

Permalink
SM-Vrouter-Kernel: use correct condition for the comparing version
Browse files Browse the repository at this point in the history
Closes-Bug: #1665173

replaced '' to "" from condition as this was causing condition to fail

PATCH 2:
missed to change code from another variable.

Change-Id: I53700ffca63ae3641f6c507ca423e4ff9f9af65e
  • Loading branch information
Dheeraj Gautam committed Feb 16, 2017
1 parent 1d11e5b commit ce4071e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
} ->
Package[$vrouter_pkg, 'contrail-openstack-vrouter']

} elsif ($::kernelrelease == '${default_trusty_kernel}-generic') {
$vrouter_pkg = 'contrail-vrouter-${default_trusty_kernel}-generic'
} elsif ($::kernelrelease == "${default_trusty_kernel}-generic") {
$vrouter_pkg = "contrail-vrouter-${default_trusty_kernel}-generic"
} else {
$vrouter_pkg = 'contrail-vrouter-dkms'
}
Expand Down

0 comments on commit ce4071e

Please sign in to comment.