#!/bin/bash

host=127.0.0.1
port=10910

curl ${authorize} -XPOST http://${host}:${port}/-/reload
if [ $? -eq 0 ];then
  echo "success: thanos-rule server reload"
else
  echo "error: thanos-rule server reload failed"
fi