chore: remove unused DockerMetadataHandler.Reload method
This commit is contained in:
parent
b0ce0d932f
commit
72b2444a6c
1 changed files with 0 additions and 5 deletions
|
|
@ -22,11 +22,6 @@ func NewDockerMetadataHandler(dataPath string) *DockerMetadataHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reload reloads the Docker metadata from disk
|
|
||||||
func (h *DockerMetadataHandler) Reload() error {
|
|
||||||
return h.store.Load()
|
|
||||||
}
|
|
||||||
|
|
||||||
// HandleGetMetadata retrieves metadata for a specific Docker resource or all resources
|
// HandleGetMetadata retrieves metadata for a specific Docker resource or all resources
|
||||||
func (h *DockerMetadataHandler) HandleGetMetadata(w http.ResponseWriter, r *http.Request) {
|
func (h *DockerMetadataHandler) HandleGetMetadata(w http.ResponseWriter, r *http.Request) {
|
||||||
if r.Method != http.MethodGet {
|
if r.Method != http.MethodGet {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue