Skip to content

Commit

Permalink
fix: Fix the url of 'notify-template-delete' in climc
Browse files Browse the repository at this point in the history
  • Loading branch information
rainzm committed Jun 18, 2020
1 parent eb5e902 commit 8ed4148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mcclient/modules/mod_notify_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type NotifyTemplateManager struct {
}

func (nm *NotifyTemplateManager) DeleteContents(s *mcclient.ClientSession, params jsonutils.JSONObject) (jsonutils.JSONObject, error) {
path := "/templates/delete-template"
path := "/notifytemplates/delete-template"
return modulebase.Post(nm.ResourceManager, s, path, params, "")
}

Expand Down

0 comments on commit 8ed4148

Please sign in to comment.