Skip to content

Commit d52e5cb

Browse files
fix: xxx
1 parent c93b62c commit d52e5cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/provision/mode_zfs.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (j *provisionModeZfs) GetDiskState() (*Disk, error) {
263263
}
264264

265265
func (j *provisionModeZfs) getDataSize() (uint64, error) {
266-
out, err := j.runner.Run("sudo du -d0 -b /zfspool")
266+
/*out, err := j.runner.Run("sudo du -d0 -b /zfspool")
267267
if err != nil {
268268
log.Err("GetDataSize:", err)
269269
return 0, err
@@ -282,7 +282,8 @@ func (j *provisionModeZfs) getDataSize() (uint64, error) {
282282
return 0, err
283283
}
284284
285-
return nbytes, nil
285+
return nbytes, nil*/
286+
return 0, nil
286287
}
287288

288289
func (j *provisionModeZfs) RunPsql(session *Session, command string) (string, error) {

0 commit comments

Comments
 (0)