mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
18 lines
320 B
Go
18 lines
320 B
Go
package driver
|
|
|
|
import (
|
|
"encoding/json"
|
|
"log"
|
|
"net/http"
|
|
)
|
|
|
|
func Activate(w http.ResponseWriter, r *http.Request) {
|
|
// Log the activation request
|
|
log.Printf("Received activation request: %s", r.URL.Path)
|
|
|
|
resp := map[string]any{
|
|
"Implements": []string{"VolumeDriver"},
|
|
}
|
|
_ = json.NewEncoder(w).Encode(resp)
|
|
}
|