Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
7e81d44a
Commit
7e81d44a
authored
Apr 21, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup slapos_*: rename Compute to Compute Node
See
nexedi/slapos.core@fba76904
parent
139173b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
master/bt5/slapos_subscription_request/SkinTemplateItem/portal_skins/slapos_subscription_request/SubscriptionCondition_renderKVMClusterParameter.py
...equest/SubscriptionCondition_renderKVMClusterParameter.py
+1
-1
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
...ortal_components/test.erp5.testSlapOSSubscriptionSkins.py
+2
-2
No files found.
master/bt5/slapos_subscription_request/SkinTemplateItem/portal_skins/slapos_subscription_request/SubscriptionCondition_renderKVMClusterParameter.py
View file @
7e81d44a
...
...
@@ -27,7 +27,7 @@ KVM0 = json_parameter["kvm-partition-dict"]["KVM0"]
for
i
in
range
(
amount
):
if
i
==
0
:
k
=
KVM0
.
copy
()
k
[
"sticky-compute
-node
"
]
=
True
k
[
"sticky-compute
r
"
]
=
True
json_parameter
[
"kvm-partition-dict"
][
"KVM"
+
str
(
i
)]
=
k
else
:
json_parameter
[
"kvm-partition-dict"
][
"KVM"
+
str
(
i
)]
=
KVM0
...
...
master/bt5/slapos_subscription_request/TestTemplateItem/portal_components/test.erp5.testSlapOSSubscriptionSkins.py
View file @
7e81d44a
...
...
@@ -151,7 +151,7 @@ class TestSubscriptionCondition_renderKVMClusterParameter(TestSubscriptionSkinsM
"ram-size": 245760,
"project-guid": "PROJ-XXXX",
"cpu-max-count": 41,
"sticky-compute
-node
": true
"sticky-compute
r
": true
}
}
}</parameter>
...
...
@@ -170,7 +170,7 @@ class TestSubscriptionCondition_renderKVMClusterParameter(TestSubscriptionSkinsM
"ram-size": 245760,
"project-guid": "PROJ-XXXX",
"cpu-max-count": 41,
"sticky-compute
-node
": true
"sticky-compute
r
": true
},
"KVM1": {
"disk-device-path": "/dev/sdb",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment