mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CP-19303: use the static string.Equals instead
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
73f195a8ed
commit
0c73e3c583
@ -191,7 +191,7 @@ namespace XenAdmin.Actions
|
||||
}
|
||||
catch (Failure ex)
|
||||
{
|
||||
if (ex.ErrorDescription != null && ex.ErrorDescription.Count > 1 && "UPDATE_ALREADY_EXISTS".Equals(ex.ErrorDescription[0], StringComparison.InvariantCultureIgnoreCase))
|
||||
if (ex.ErrorDescription != null && ex.ErrorDescription.Count > 1 && string.Equals("UPDATE_ALREADY_EXISTS", ex.ErrorDescription[0], StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
string uuidFound = ex.ErrorDescription[1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user