This commit is contained in:
Michael Quigley
2022-11-22 11:39:00 -05:00
parent c7d8395b89
commit b54876fcb6
4 changed files with 26 additions and 26 deletions

View File

@ -77,7 +77,7 @@ func (h *unshareHandler) Handle(params service.UnshareParams, principal *rest_mo
switch ssvc.ShareMode {
case "public":
if err := newUnsharePublicHandler().Handle(senv, ssvc, svcName, svcZId, edge); err != nil {
if err := newPublicResourceDeallocator().Handle(senv, ssvc, svcName, svcZId, edge); err != nil {
logrus.Errorf("error unsharing ziti resources for '%v': %v", ssvc, err)
return service.NewUnshareInternalServerError()
}