Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vagrant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
epm
vagrant
Commits
10c955fb
Commit
10c955fb
authored
8 years ago
by
Marius David Wieschollek
Browse files
Options
Downloads
Patches
Plain Diff
Fix output error
parent
ef7841dd
Branches
VAGRANT-0.4
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Classes/Hooks/HaltHook.php
+3
-2
3 additions, 2 deletions
Classes/Hooks/HaltHook.php
Classes/Hooks/UpHook.php
+3
-2
3 additions, 2 deletions
Classes/Hooks/UpHook.php
with
6 additions
and
4 deletions
Classes/Hooks/HaltHook.php
+
3
−
2
View file @
10c955fb
...
...
@@ -21,12 +21,13 @@ class HaltHook {
* @throws \Exception
*/
public
function
run
(
AbstractJob
$upJob
)
{
$upJob
->
getOutput
()
->
print
(
'vagrant.jobs.halt'
);
global
$output
;
$output
->
print
(
'vagrant.jobs.halt'
);
ShellUtility
::
makeShell
(
'local'
)
->
addCommand
(
ClassUtility
::
makeInstance
(
Command
::
class
,
'vagrant'
,
'halt'
)
)
->
execute
();
$
upJob
->
getOutput
()
->
print
(
'jobs.done'
);
$
output
->
success
(
'jobs.done'
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Classes/Hooks/UpHook.php
+
3
−
2
View file @
10c955fb
...
...
@@ -21,12 +21,13 @@ class UpHook {
* @throws \Exception
*/
public
function
run
(
AbstractJob
$upJob
)
{
$upJob
->
getOutput
()
->
print
(
'vagrant.jobs.up'
);
global
$output
;
$output
->
print
(
'vagrant.jobs.up'
);
ShellUtility
::
makeShell
(
'local'
)
->
addCommand
(
ClassUtility
::
makeInstance
(
Command
::
class
,
'vagrant'
,
'up'
)
)
->
execute
();
$
upJob
->
getO
utput
()
->
print
(
'jobs.done'
);
$
o
utput
->
print
(
'jobs.done'
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Marius David Wieschollek
@marius
mentioned in commit
c8f39ee6
·
8 years ago
mentioned in commit
c8f39ee6
mentioned in commit c8f39ee64e856edf152f4083514a0f2d548bfc3b
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment