From 9ea290aa123f852b22ff7bbf1a0a9227f36f696b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 1 Sep 2020 23:21:41 -0700 Subject: [PATCH] fix error message --- weed/filer/abstract_sql/abstract_sql_store_kv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/abstract_sql/abstract_sql_store_kv.go b/weed/filer/abstract_sql/abstract_sql_store_kv.go index de7d7b7a5..5084b6062 100644 --- a/weed/filer/abstract_sql/abstract_sql_store_kv.go +++ b/weed/filer/abstract_sql/abstract_sql_store_kv.go @@ -70,7 +70,7 @@ func (store *AbstractSqlStore) KvDelete(ctx context.Context, key []byte) (err er _, err = res.RowsAffected() if err != nil { - return fmt.Errorf("kv delete %s but no rows affected: %s", err) + return fmt.Errorf("kv delete no rows affected: %s", err) } return nil