fix typos in comments
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
48b64ef35b
commit
d76c2b0f9e
@ -399,7 +399,7 @@ __PACKAGE__->register_method({
|
||||
type => "object",
|
||||
additionalProperties => 1,
|
||||
properties => {
|
||||
# TODO: document remaing ones
|
||||
# TODO: document remaining ones
|
||||
'boot-info' => {
|
||||
description => "Meta-information about the boot mode.",
|
||||
type => 'object',
|
||||
|
@ -86,7 +86,7 @@ sub read_aplinfo_from_fh {
|
||||
$template = $res->{location};
|
||||
$template =~ s|.*/([^/]+$PVE::Storage::VZTMPL_EXT_RE_1)$|$1|;
|
||||
if ($res->{location} !~ m|^([a-zA-Z]+)\://|) {
|
||||
# relative localtion (no http:// prefix)
|
||||
# relative location (no http:// prefix)
|
||||
$res->{location} = "$source/$res->{location}";
|
||||
}
|
||||
} else {
|
||||
|
@ -216,7 +216,7 @@ __PACKAGE__->register_method ({
|
||||
|
||||
print "start installation\n";
|
||||
|
||||
# this flag helps to determine when apt is actually done installing (vs. partial extracing)
|
||||
# this flag helps to determine when apt is actually done installing (vs. partial extracting)
|
||||
my $install_flag_fn = PVE::Ceph::Tools::ceph_install_flag_file();
|
||||
open(my $install_flag, '>', $install_flag_fn) or die "could not create install flag - $!\n";
|
||||
close $install_flag;
|
||||
|
@ -103,7 +103,7 @@ sub update_supported_cpuflags {
|
||||
|
||||
$supported_cpuflags = {};
|
||||
} else {
|
||||
# only set cached version if there's actually something to braodcast
|
||||
# only set cached version if there's actually something to broadcast
|
||||
$cached_kvm_version = $kvm_version;
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ sub _send_batch_size {
|
||||
return $mtu - 50; # a bit more than 48byte to allow for safe room
|
||||
}
|
||||
|
||||
# call with the smalles $data chunks possible
|
||||
# call with the smallest $data chunks possible
|
||||
sub add_metric_data {
|
||||
my ($class, $txn, $data) = @_;
|
||||
return if !defined($data);
|
||||
|
@ -65,7 +65,7 @@ Ext.define('PVE.Parser', {
|
||||
if (Ext.isDefined(res[defaultKey])) {
|
||||
throw 'defaultKey may be only defined once in propertyString';
|
||||
}
|
||||
res[defaultKey] = k; // k ist the value in this case
|
||||
res[defaultKey] = k; // k is the value in this case
|
||||
} else {
|
||||
throw `Failed to parse key-value pair: ${property}`;
|
||||
}
|
||||
|
@ -265,7 +265,7 @@ Ext.define('PVE.ceph.ServiceList', {
|
||||
});
|
||||
me.ids.push(list[i].id);
|
||||
} else {
|
||||
delete pendingRemoval[list[i].id]; // drop exisiting from for-removal
|
||||
delete pendingRemoval[list[i].id]; // drop existing from for-removal
|
||||
}
|
||||
service.updateService(list[i].title, list[i].text, list[i].health);
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ Ext.define('PVE.dc.ACMEPluginEditor', {
|
||||
datafield.setValue(extradata.join('\n'));
|
||||
if (!me.createdInitially) {
|
||||
datafield.resetOriginalValue();
|
||||
me.createdInitially = true; // save that we initally set that
|
||||
me.createdInitially = true; // save that we initially set that
|
||||
}
|
||||
},
|
||||
onGetValues: function(values) {
|
||||
|
@ -37,7 +37,7 @@ Ext.define('PVE.form.SizeField', {
|
||||
unit: 'MiB',
|
||||
unitPostfix: '',
|
||||
|
||||
// use this if the backend saves values in another unit tha bytes, e.g.,
|
||||
// use this if the backend saves values in a unit other than bytes, e.g.,
|
||||
// for KiB set it to 'KiB'
|
||||
backendUnit: undefined,
|
||||
|
||||
|
@ -43,7 +43,7 @@ Ext.define('PVE.lxc.CPUEdit', {
|
||||
},
|
||||
});
|
||||
|
||||
// The view model of the parent shoul contain a 'cgroupMode' variable (or params for v2 are used).
|
||||
// The view model of the parent should contain a 'cgroupMode' variable (or params for v2 are used).
|
||||
Ext.define('PVE.lxc.CPUInputPanel', {
|
||||
extend: 'Proxmox.panel.InputPanel',
|
||||
alias: 'widget.pveLxcCPUInputPanel',
|
||||
|
@ -61,7 +61,7 @@ Ext.define('PVE.qemu.OSDefaults', {
|
||||
networkCard: 'virtio',
|
||||
});
|
||||
|
||||
// recommandation from http://wiki.qemu.org/Windows2000
|
||||
// recommendation from http://wiki.qemu.org/Windows2000
|
||||
addOS({
|
||||
pveOS: 'w2k',
|
||||
parent: 'generic',
|
||||
|
@ -180,7 +180,7 @@ Ext.define('PVE.qemu.PCIInputPanel', {
|
||||
columnWidth: 1,
|
||||
padding: '0 0 10 0',
|
||||
itemId: 'iommuwarning',
|
||||
value: 'The selected Device is not in a seperate IOMMU group, make sure this is intended.',
|
||||
value: 'The selected Device is not in a separate IOMMU group, make sure this is intended.',
|
||||
userCls: 'pmx-hint',
|
||||
},
|
||||
];
|
||||
|
@ -1,4 +1,4 @@
|
||||
// The view model of the parent shoul contain a 'cgroupMode' variable (or params for v2 are used).
|
||||
// The view model of the parent should contain a 'cgroupMode' variable (or params for v2 are used).
|
||||
Ext.define('PVE.qemu.ProcessorInputPanel', {
|
||||
extend: 'Proxmox.panel.InputPanel',
|
||||
alias: 'widget.pveQemuProcessorPanel',
|
||||
|
@ -102,7 +102,7 @@ Ext.define('PVE.window.Migrate', {
|
||||
},
|
||||
|
||||
onTargetChange: function(nodeSelector) {
|
||||
// Always display the storages of the currently seleceted migration target
|
||||
// Always display the storages of the currently selected migration target
|
||||
this.lookup('pveDiskStorageSelector').setNodename(nodeSelector.value);
|
||||
this.checkMigratePreconditions();
|
||||
},
|
||||
|
@ -132,7 +132,7 @@ Ext.define('PVE.window.Restore', {
|
||||
|
||||
if (key === '#qmdump#map') {
|
||||
let match = value.match(/^(\S+):(\S+):(\S*):(\S*):$/) ?? [];
|
||||
// if a /dev/XYZ disk was backed up, ther is no storage hint
|
||||
// if a /dev/XYZ disk was backed up, there is no storage hint
|
||||
allStoragesAvailable &&= !!match[3] && !!PVE.data.ResourceStore.getById(
|
||||
`storage/${view.nodename}/${match[3]}`);
|
||||
} else if (key === 'name' || key === 'hostname') {
|
||||
|
@ -5,7 +5,7 @@ Ext.define('PVE.window.TreeSettingsEdit', {
|
||||
title: gettext('Tree Settings'),
|
||||
isCreate: false,
|
||||
|
||||
url: '#', // ignored as submit() gets overriden here, but the parent class requires it
|
||||
url: '#', // ignored as submit() gets overridden here, but the parent class requires it
|
||||
|
||||
width: 450,
|
||||
fieldDefaults: {
|
||||
|
@ -37,7 +37,7 @@ var js_api_version;
|
||||
|
||||
|
||||
/**
|
||||
* Message types for messsages to/from the extension
|
||||
* Message types for messages to/from the extension
|
||||
* @const
|
||||
* @enum {string}
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user