Skip to content

Commit

Permalink
Fix watchdog?'s YARD doc to be @return
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored and agis committed Sep 26, 2023
1 parent 0dcbd7c commit 98eaf64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/sd_notify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ def self.fdstore(unset_env=false)
notify(FDSTORE, unset_env)
end

# @param [Boolean] true if the service manager expects watchdog keep-alive
# notification messages to be sent from this process.
#
# If the $WATCHDOG_USEC environment variable is set,
# and the $WATCHDOG_PID variable is unset or set to the PID of the current
# process
#
# @return [Boolean] true if the service manager expects watchdog keep-alive
# notification messages to be sent from this process.
#
# @note Unlike sd_watchdog_enabled(3), this method does not mutate the
# environment.
def self.watchdog?
Expand Down

0 comments on commit 98eaf64

Please sign in to comment.