Skip to content

Commit

Permalink
pub metadata constantly
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick0308 committed Apr 17, 2021
1 parent 9a3d220 commit b28f571
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion common/extension/metadata_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
)

var (
// there will be two types: local or remote
metadataServiceInsMap = make(map[string]func() (service.MetadataService, error), 2)
)

Expand Down
2 changes: 1 addition & 1 deletion metadata/report/zookeeper/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (m *zookeeperMetadataReport) PublishAppMetadata(metadataIdentifier *identif
if err != nil {
return err
}
err = m.client.CreateTempWithValue(k, data)
err = m.client.CreateWithValue(k, data)
if err == zk.ErrNodeExists {
logger.Debugf("Try to create the node data failed. In most cases, it's not a problem. ")
return nil
Expand Down

0 comments on commit b28f571

Please sign in to comment.