1 parent
73b9cece16
commit
92f4104c3b
4 files changed
+21
-1
No files matched your search
@@ -18,7 +18,7 @@ our @EXPORT_OK = qw(
|
||||
# ============================================================================
|
||||
|
||||
our $DEBUG_ENABLED = 1;
|
||||
our $VERSION = '1.0';
|
||||
our $VERSION = 'version-placeholder';
|
||||
|
||||
# Runtime process-type tag — set to 'worker' or 'collector' after fork.
|
||||
# Each forked child gets its own copy of this variable.
|
||||
|
||||
@@ -193,8 +193,11 @@ sub get_ups_info {
|
||||
|
||||
sub get_pve_mod_version {
|
||||
debug(__LINE__, "get_pve_mod_version called");
|
||||
|
||||
# Notify pve_mod_worker of activity
|
||||
notify_pve_mod_worker();
|
||||
|
||||
debug(__LINE__, "Returning version: $VERSION");
|
||||
|
||||
return $VERSION;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user