remove utc
This commit is contained in:
1 parent
0429bed9e3
commit
d9c32437c9
2 files changed
+2
-2
No files matched your search
@@ -69,7 +69,7 @@ func (c *config) CreateUpdateConfig(config domain.CreateUpdateConfigRequest) (*d
|
||||
Config: config.Config,
|
||||
Unsafe: config.Unsafe,
|
||||
VersionId: state.GenerateId(),
|
||||
VersionCreateAt: time.Now().UTC(),
|
||||
VersionCreateAt: time.Now(),
|
||||
}
|
||||
if config.Id == "" {
|
||||
upsertConfig.Config.Id = state.GenerateId()
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ func (h *SocketEventHandler) handleConfigSchema(conn etp.Conn, data []byte) []by
|
||||
Create: true,
|
||||
Unsafe: true,
|
||||
VersionId: state.GenerateId(),
|
||||
VersionCreateAt: time.Now().UTC(),
|
||||
VersionCreateAt: time.Now(),
|
||||
}
|
||||
|
||||
command := cluster.PrepareUpsertConfigCommand(upsertConfig)
|
||||
|
||||
Reference in new issue
Block a user