Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to enable alert again? #96

Closed
cofyc opened this issue Oct 12, 2020 · 1 comment
Closed

how to enable alert again? #96

cofyc opened this issue Oct 12, 2020 · 1 comment

Comments

@cofyc
Copy link

cofyc commented Oct 12, 2020

after I disabled an alert by setting muteUntil to time.Now.Unix() + 600, I cann't enable it by setting muteUntil to 0.

Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_log_alert.go:282: Resource tap-server:alert-1601362804-806787 UpdateAlert Failed!!! [SDK aliyun-log-go-sdk ERROR]:
{
    "httpCode": 400,
    "errorCode": "ParameterInvalid",
    "errorMessage": "muteUntil must be positive",
    "requestID": "5F83F909CE4F27E0A7C7D504"
}
@liketic
Copy link
Collaborator

liketic commented Nov 12, 2020

Please use EnableAlert instead.

crimson-gao pushed a commit that referenced this issue Jan 24, 2024
Co-authored-by: zhurenzhu.zrz <zhurenzhu.zrz@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants