mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-30 20:03:46 +00:00
Fix core.SetMetadata
This commit is contained in:
@@ -247,7 +247,7 @@ func (c *Core) GetMetadata() metadataPayload {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sets the node metadata.
|
// Sets the node metadata.
|
||||||
func (c *Core) SetMetadata(meta metadataPayload) {
|
func (c *Core) SetMetadata(meta interface{}) {
|
||||||
c.metadata.setMetadata(meta)
|
c.metadata.setMetadata(meta)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user