foreman-tasks 9.0.2 → 9.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/foreman_tasks/remote_task.rb +3 -0
- data/lib/foreman_tasks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e88541d169e078a42071bfc0d756e358d466ae258226ed6cee8dd983fc76584
|
4
|
+
data.tar.gz: d9f01f14d1c38e962d165109d9b9a9f90d65cc86c768efe7f759d8ce7ea573f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c27603a712c4b81186e512cb187df730a523dda3eea70c4efc48d46c9758f6e71d500dcbe94d52e96e99a7cb47b4d698aec9c435d84fa679e86675fa0c5dd2c0
|
7
|
+
data.tar.gz: 53e273339622e47f59b4074ff3f044dc2c79e673d6c113b47611be0c9ab5d77ae829d2349bcf8abf3e7058c883865fd3bc56a8bdf797c838309782c47b87f538
|
@@ -42,6 +42,9 @@ module ForemanTasks
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def update_from_batch_trigger(data, parent = {})
|
45
|
+
# The ID might get overwritten later, but it is a sane default in case of async
|
46
|
+
# triggering where we only get an id of a remote parent
|
47
|
+
self.remote_task_id = execution_plan_id
|
45
48
|
if data['result'] == 'success'
|
46
49
|
self.remote_task_id = data['task_id']
|
47
50
|
self.state = 'triggered'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.0.
|
4
|
+
version: 9.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dynflow
|