Add GetCurrentSnapshotID method to retrieve the current snapshot ID
This commit is contained in:
4
api.go
4
api.go
@ -429,3 +429,7 @@ func (a *Agate) GetRemoteSnapshot(ctx context.Context, address string, snapshotI
|
|||||||
a.options.Logger.Printf("Successfully imported remote snapshot %s", snapshotID)
|
a.options.Logger.Printf("Successfully imported remote snapshot %s", snapshotID)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (a *Agate) GetCurrentSnapshotID() string {
|
||||||
|
return a.currentSnapshotID
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user