@ornncompute/cli 1.0.284 → 1.0.285
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/vm-commands.mjs
CHANGED
|
@@ -3714,7 +3714,9 @@ async function listMachines(input, context, interaction) {
|
|
|
3714
3714
|
presentation: {
|
|
3715
3715
|
lines: projected.length ? projected.flatMap(machineLines) : ["No direct machines found."],
|
|
3716
3716
|
...(selected.page.next_cursor
|
|
3717
|
-
? {
|
|
3717
|
+
? {
|
|
3718
|
+
next: `ornn machines list --limit ${selected.page.limit} --cursor ${selected.page.next_cursor}`,
|
|
3719
|
+
}
|
|
3718
3720
|
: {}),
|
|
3719
3721
|
},
|
|
3720
3722
|
});
|
|
@@ -135,6 +135,12 @@ function listEnrollmentIssues(request, id, signal) {
|
|
|
135
135
|
signal
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
+
function updateEnrollmentIssue(request, id, code, body) {
|
|
139
|
+
return request(`${root}/hosts/${encodeURIComponent(id)}/issues/${encodeURIComponent(code)}`, {
|
|
140
|
+
method: "PATCH",
|
|
141
|
+
body
|
|
142
|
+
});
|
|
143
|
+
}
|
|
138
144
|
function getEnrollmentSteps(request, id) {
|
|
139
145
|
return request(`${root}/hosts/${encodeURIComponent(id)}/steps`, { method: "GET" });
|
|
140
146
|
}
|
|
@@ -1270,6 +1276,7 @@ export {
|
|
|
1270
1276
|
transferNode,
|
|
1271
1277
|
updateDisk,
|
|
1272
1278
|
updateDrive,
|
|
1279
|
+
updateEnrollmentIssue,
|
|
1273
1280
|
updateEnrollmentProfile,
|
|
1274
1281
|
updateNetwork,
|
|
1275
1282
|
updateNode,
|