forked from TrueCloudLab/frostfs-node
Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
19 lines
269 B
Go
19 lines
269 B
Go
package subnetevents
|
|
|
|
import subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id"
|
|
|
|
type idEvent struct {
|
|
id subnetid.ID
|
|
|
|
idErr error
|
|
}
|
|
|
|
func (x idEvent) ReadID(id *subnetid.ID) error {
|
|
if x.idErr != nil {
|
|
return x.idErr
|
|
}
|
|
|
|
*id = x.id
|
|
|
|
return nil
|
|
}
|