mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-09-13 07:43:15 +08:00
fix: typo in the log message (#4769)
This commit is contained in:
parent
8ad827130e
commit
a47d3289d0
@ -203,7 +203,7 @@ func StartNewVersion(
|
|||||||
) (*ConfigVersion, *model.ApiError) {
|
) (*ConfigVersion, *model.ApiError) {
|
||||||
|
|
||||||
// create a new version
|
// create a new version
|
||||||
cfg := NewConfigversion(eleType)
|
cfg := NewConfigVersion(eleType)
|
||||||
|
|
||||||
// insert new config and elements into database
|
// insert new config and elements into database
|
||||||
err := m.insertConfig(ctx, userId, cfg, elementIds)
|
err := m.insertConfig(ctx, userId, cfg, elementIds)
|
||||||
|
@ -45,7 +45,7 @@ type ConfigVersion struct {
|
|||||||
CreatedAt time.Time `json:"createdAt" db:"created_at"`
|
CreatedAt time.Time `json:"createdAt" db:"created_at"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewConfigversion(typeDef ElementTypeDef) *ConfigVersion {
|
func NewConfigVersion(typeDef ElementTypeDef) *ConfigVersion {
|
||||||
return &ConfigVersion{
|
return &ConfigVersion{
|
||||||
ID: uuid.NewString(),
|
ID: uuid.NewString(),
|
||||||
ElementType: typeDef,
|
ElementType: typeDef,
|
||||||
|
@ -87,7 +87,7 @@ func main() {
|
|||||||
if len(auth.JwtSecret) == 0 {
|
if len(auth.JwtSecret) == 0 {
|
||||||
zap.L().Warn("No JWT secret key is specified.")
|
zap.L().Warn("No JWT secret key is specified.")
|
||||||
} else {
|
} else {
|
||||||
zap.L().Info("No JWT secret key set successfully.")
|
zap.L().Info("JWT secret key set successfully.")
|
||||||
}
|
}
|
||||||
|
|
||||||
server, err := app.NewServer(serverOptions)
|
server, err := app.NewServer(serverOptions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user