Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangqh committed Apr 10, 2018
1 parent c5662fe commit 20d2af5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/quota/prjquota.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ func (quota *PrjQuota) SetDiskQuota(dir string, size string, quotaID int) error
}

limit, err := bytefmt.ToKilobytes(size)
if err != nil {
return err
}

// transfer limit from kbyte to byte
if err := quota.checkDevLimit(dir, limit*1024); err != nil {
Expand Down

0 comments on commit 20d2af5

Please sign in to comment.