Skip to content

Commit

Permalink
Merge pull request #236 from angelabriel/maintenance-classic
Browse files Browse the repository at this point in the history
fix regression in topology (bsc#1219785)
  • Loading branch information
fmherschel authored Feb 22, 2024
2 parents e8188e0 + 6062afd commit 20511fa
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ra/SAPHanaTopology
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,6 @@ function sht_monitor() {
return $rc
}


#
# function: sht_status - get status of a hana instance (os tools only)
# params: -
Expand Down Expand Up @@ -1004,21 +1003,6 @@ function sht_stop_clone() {
return $rc
}

#
# function: sht_monitor
# this function should never be called currently.
# it is intended for future releases which might support un-cloned resources
# for now it is only used to print a reasonable error message in case of
# non-cloned resources instead of 'command not found'
#
function sht_monitor() {
if ! is_clone; then
super_ocf_log error "RA: resource is not defined as clone. This is not supported (OCF_ERR_UNIMPLEMENTED)"
return "$OCF_ERR_UNIMPLEMENTED"
else
return "$OCF_SUCCESS"
fi
}

#
# function: sht_monitor_clone - monitor a hana clone instance
Expand Down

0 comments on commit 20511fa

Please sign in to comment.