endure creating .vif files
This commit is contained in:
@@ -12,9 +12,7 @@ func (v *Volume) GetVolumeInfo() *volume_server_pb.VolumeInfo {
|
||||
return v.volumeInfo
|
||||
}
|
||||
|
||||
func (v *Volume) maybeLoadVolumeInfo() {
|
||||
|
||||
var found bool
|
||||
func (v *Volume) maybeLoadVolumeInfo() (found bool){
|
||||
|
||||
v.volumeInfo, found = pb.MaybeLoadVolumeInfo(v.FileName() + ".vif")
|
||||
|
||||
@@ -24,6 +22,8 @@ func (v *Volume) maybeLoadVolumeInfo() {
|
||||
v.hasRemoteFile = true
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
}
|
||||
|
||||
func (v *Volume) HasRemoteFile() bool {
|
||||
|
||||
Reference in New Issue
Block a user