omni/internal/backend/debug/debug_disabled.go
Edward Sammut Alessi d3ae77c0cc
chore: bump copyright to 2026
Bump copyright for conformance to 2026

Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
2026-01-21 15:30:49 +01:00

17 lines
413 B
Go

// Copyright (c) 2026 Sidero Labs, Inc.
//
// Use of this software is governed by the Business Source License
// included in the LICENSE file.
//go:build !sidero.debug
package debug
import "net/http"
// ServeHTTP handles debug requests.
func (handler *Handler) ServeHTTP(w http.ResponseWriter, _ *http.Request) {
// no debug handlers when debug is disabled
http.Error(w, "Not found", http.StatusNotFound)
}