Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lib/kitchen/driver/hyperv.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,14 @@ def doctor(state)

# Build the status hash Test Kitchen normalizes.
#
# @return [Hash]
# @param live [Boolean, nil] whether the virtual machine is running, or
# nil when the driver could not determine it
# @param state [String] the lifecycle state to report: "not_created",
# "running", "stopped", or "unknown"
# @param message [String] human-readable explanation of the state
# @param resource_id [String, nil] the Hyper-V virtual machine id, when
# one is known
# @return [Hash] the status data, stamped with a UTC `checked_at` time
# @api private
def status_report(live:, state:, message:, resource_id: nil)
{
Expand Down
Loading