mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-381678: Fix misc wording issues in ManageCdnUpdatesPage
export file
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
parent
113c19f9bd
commit
fbdcf5f5de
@ -478,8 +478,12 @@ namespace XenAdmin.TabPages
|
||||
var connection = kvp.Key;
|
||||
var poolUpdateInfo = kvp.Value;
|
||||
|
||||
stream.WriteLine(connection.Name);
|
||||
stream.WriteLine();
|
||||
// Don't need to print the pool name if it's a standalone host
|
||||
if (Helpers.GetPool(connection) != null)
|
||||
{
|
||||
stream.WriteLine(connection.Name);
|
||||
stream.WriteLine();
|
||||
}
|
||||
|
||||
var hosts = poolUpdateInfo.HostsWithUpdates
|
||||
.Select(hui => connection.Resolve(new XenRef<Host>(hui.HostOpaqueRef)))
|
||||
@ -492,7 +496,8 @@ namespace XenAdmin.TabPages
|
||||
continue;
|
||||
|
||||
stream.WriteLine(host.Name());
|
||||
stream.WriteLine(string.Join("\n", hostUpdateInfo.RecommendedGuidance.Select(Cdn.FriendlyInstruction)));
|
||||
stream.WriteLine();
|
||||
stream.WriteLine(Messages.HOTFIX_POST_UPDATE_ACTIONS, string.Join(Environment.NewLine, hostUpdateInfo.RecommendedGuidance.Select(Cdn.FriendlyInstruction)));
|
||||
stream.WriteLine();
|
||||
|
||||
var categories = hostUpdateInfo.GetUpdateCategories(poolUpdateInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user