diff --git a/lxd/api_internal.go b/lxd/api_internal.go index e2822ad2dc07..85ac72f1dae8 100644 --- a/lxd/api_internal.go +++ b/lxd/api_internal.go @@ -1028,7 +1028,7 @@ func internalGC(d *Daemon, r *http.Request) response.Response { func internalRAFTSnapshot(d *Daemon, r *http.Request) response.Response { logger.Warn("Forced RAFT snapshot not supported") - return response.InternalError(fmt.Errorf("Not supported")) + return response.InternalError(storageDrivers.ErrNotSupported) } func internalBGPState(d *Daemon, r *http.Request) response.Response {