Added panic api in coresv1 for testing

This commit is contained in:
andronache98
2021-12-20 15:41:24 +02:00
committed by Dan Christian Bogos
parent 9852be5b3a
commit 95633e7b85

View File

@@ -95,3 +95,7 @@ func (cS *CoreSv1) StopMemoryProfiling(_ *utils.TenantWithAPIOpts, reply *string
*reply = utils.OK
return nil
}
func (cS *CoreSv1) Panic(_ *utils.TenantWithAPIOpts, _ *string) error {
panic("This is a panic test!")
}