Whamcloud - gitweb
LU-13559 utils: fix lfs mirror delete error message 09/38609/8
authorKévin Baillergeau <kevin.baillergeau.ocre@cea.fr>
Fri, 15 May 2020 01:22:19 +0000 (01:22 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 10 Jun 2020 20:51:41 +0000 (20:51 +0000)
commitf530ecc221ac345ba1aac5ff1cdf6420ac7651d3
treea46c04e242ce8b36b7b1682ee45f7814124bee45
parent6d314902e6d19229379577aab60d4b20a5b4d2ea
LU-13559 utils: fix lfs mirror delete error message

Add different error messages depending on the option used.
Add a mirror_id variable instead of reusing the id variable
to store the result of mirror_id_of(id).

Signed-off-by: Kévin Baillergeau <kevin.baillergeau.ocre@cea.fr>
Change-Id: I5fbd307c4132c22d54470f2a1407074efe8bbc0a
Reviewed-on: https://review.whamcloud.com/38609
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Dominique Martinet <dominique.martinet@cea.fr>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/utils/lfs.c