diff --git a/services/graph/pkg/service/v0/instrument.go b/services/graph/pkg/service/v0/instrument.go index 7b3faaf72..351d90aa6 100644 --- a/services/graph/pkg/service/v0/instrument.go +++ b/services/graph/pkg/service/v0/instrument.go @@ -128,3 +128,8 @@ func (i instrument) GetAllDrives(w http.ResponseWriter, r *http.Request) { func (i instrument) CreateDrive(w http.ResponseWriter, r *http.Request) { i.next.CreateDrive(w, r) } + +// GetRootDriveChildren implements the Service interface. +func (i instrument) GetRootDriveChildren(w http.ResponseWriter, r *http.Request) { + i.next.GetRootDriveChildren(w, r) +} diff --git a/services/graph/pkg/service/v0/logging.go b/services/graph/pkg/service/v0/logging.go index 645ccd0ef..0beaf93b1 100644 --- a/services/graph/pkg/service/v0/logging.go +++ b/services/graph/pkg/service/v0/logging.go @@ -128,3 +128,8 @@ func (l logging) GetAllDrives(w http.ResponseWriter, r *http.Request) { func (l logging) CreateDrive(w http.ResponseWriter, r *http.Request) { l.next.CreateDrive(w, r) } + +// GetRootDriveChildren implements the Service interface. +func (l logging) GetRootDriveChildren(w http.ResponseWriter, r *http.Request) { + l.next.GetRootDriveChildren(w, r) +} diff --git a/services/graph/pkg/service/v0/service.go b/services/graph/pkg/service/v0/service.go index 3fc75935c..ac8f37b27 100644 --- a/services/graph/pkg/service/v0/service.go +++ b/services/graph/pkg/service/v0/service.go @@ -50,6 +50,7 @@ type Service interface { GetDrives(w http.ResponseWriter, r *http.Request) GetSingleDrive(w http.ResponseWriter, r *http.Request) GetAllDrives(w http.ResponseWriter, r *http.Request) + GetRootDriveChildren(w http.ResponseWriter, r *http.Request) CreateDrive(w http.ResponseWriter, r *http.Request) UpdateDrive(w http.ResponseWriter, r *http.Request) DeleteDrive(w http.ResponseWriter, r *http.Request) diff --git a/services/graph/pkg/service/v0/tracing.go b/services/graph/pkg/service/v0/tracing.go index 404236a90..8e3832979 100644 --- a/services/graph/pkg/service/v0/tracing.go +++ b/services/graph/pkg/service/v0/tracing.go @@ -124,3 +124,8 @@ func (t tracing) GetAllDrives(w http.ResponseWriter, r *http.Request) { func (t tracing) CreateDrive(w http.ResponseWriter, r *http.Request) { t.next.CreateDrive(w, r) } + +// GetRootDriveChildren implements the Service interface. +func (t tracing) GetRootDriveChildren(w http.ResponseWriter, r *http.Request) { + t.next.GetRootDriveChildren(w, r) +}