mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +00:00
New lint rules
This commit is contained in:
@ -18,7 +18,7 @@ func CreateDNSProvider() string {
|
||||
|
||||
allSchemasWrapped := make([]string, 0)
|
||||
for providerName, provider := range allProviders {
|
||||
schema, err := provider.GetJsonSchema()
|
||||
schema, err := provider.GetJSONSchema()
|
||||
if err != nil {
|
||||
logger.Error("ProviderSchemaError", eris.Wrapf(err, "Invalid Provider Schema for %s: %v", provider.Title, err))
|
||||
} else {
|
||||
|
@ -3,9 +3,10 @@ package schema
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"npm/internal/entity/certificate"
|
||||
"testing"
|
||||
|
||||
"npm/internal/entity/certificate"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
package schema
|
||||
|
||||
// UpdateHostTemplate is the schema for incoming data validation
|
||||
// UpdateNginxTemplate is the schema for incoming data validation
|
||||
func UpdateNginxTemplate() string {
|
||||
return `
|
||||
{
|
||||
|
Reference in New Issue
Block a user