move registry struct definitions to dataservice/registry
Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>
This commit is contained in:
@@ -2,6 +2,7 @@ package webhooks
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/portainer/portainer/api/dataservices/registry"
|
||||
"net/http"
|
||||
|
||||
"github.com/portainer/portainer/api/http/security"
|
||||
@@ -14,7 +15,7 @@ import (
|
||||
)
|
||||
|
||||
type webhookUpdatePayload struct {
|
||||
RegistryID portainer.RegistryID
|
||||
RegistryID registry.RegistryID
|
||||
}
|
||||
|
||||
func (payload *webhookUpdatePayload) Validate(r *http.Request) error {
|
||||
|
||||
Reference in New Issue
Block a user