修改磁盘空间判断函数名称

This commit is contained in:
linxin
2023-04-12 17:52:13 +08:00
parent b4aa808083
commit 36a59b6181
2 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ func TestIsMemorySufficient(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got, err := isMemorySufficient(tt.input.pipe_config)
got, err := isDiskSufficient(tt.input.pipe_config)
if (err != nil) != tt.wantErr {
t.Errorf("isMemorySufficient() error = %v, wantErr %v", err, tt.wantErr)
return