mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-26 01:21:37 +00:00
Fix core.SetMetadata
This commit is contained in:
parent
9a5cf96c29
commit
07c26176b6
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user