]> xenbits.xensource.com Git - libvirt.git/commitdiff
systemd: Rename socket_in_def -> socket_in_default
authorAndrea Bolognani <abologna@redhat.com>
Mon, 25 Sep 2023 14:57:25 +0000 (16:57 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 26 Sep 2023 14:57:50 +0000 (16:57 +0200)
The meaning of the _def suffix might not be immediately obvious,
especially since it's also used to refer to the output of the
meson-gen-def.py script elsewhere in the same file.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/meson.build

index 28e4d0cc4e8cd7b4e7552033d05a271a660160d2..7b6ce6d32f5356d46a6034b09b3a85b37b41b181 100644 (file)
@@ -826,12 +826,12 @@ if conf.has('WITH_LIBVIRTD')
 
       foreach socket : unit.get('sockets', [ 'main', 'ro', 'admin' ])
         if socket == 'main'
-          socket_in_def = 'remote' / 'libvirtd.socket.in'
-          socket_in = unit.get('socket_in', socket_in_def)
+          socket_in_default = 'remote' / 'libvirtd.socket.in'
+          socket_in = unit.get('socket_in', socket_in_default)
           socket_out = '@0@.socket'.format(unit['service'])
         else
-          socket_in_def = 'remote' / 'libvirtd-@0@.socket.in'.format(socket)
-          socket_in = unit.get('socket_@0@_in'.format(socket), socket_in_def)
+          socket_in_default = 'remote' / 'libvirtd-@0@.socket.in'.format(socket)
+          socket_in = unit.get('socket_@0@_in'.format(socket), socket_in_default)
           socket_out = '@0@-@1@.socket'.format(unit['service'], socket)
         endif
         configure_file(