summaryrefslogtreecommitdiff
path: root/lib/oxidized/hook/noophook.rb
blob: d4673baf6e015b9ac60d1f1a69d78d432ab616bf (plain)
1
2
3
4
5
6
7
8
9
class NoopHook < Oxidized::Hook
  def validate_cfg!
    log "Validate config"
  end

  def run_hook ctx
    log "Run hook with context: #{ctx}"
  end
end