Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
6965af29
Commit
6965af29
authored
Sep 22, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packer/plugin: log git commit plugin was built against
parent
25924a2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
packer/plugin/plugin.go
packer/plugin/plugin.go
+2
-0
No files found.
packer/plugin/plugin.go
View file @
6965af29
...
...
@@ -33,6 +33,8 @@ const MagicCookieValue = "d602bf8f470bc67ca7faa0386276bbdd4330efaf76d1a219cb4d69
// This serves a single RPC connection on the given RPC server on
// a random port.
func
serve
(
server
*
rpc
.
Server
)
(
err
error
)
{
log
.
Printf
(
"Plugin build against Packer '%s'"
,
packer
.
GitCommit
)
if
os
.
Getenv
(
MagicCookieKey
)
!=
MagicCookieValue
{
return
errors
.
New
(
"Please do not execute plugins directly. Packer will execute these for you."
)
}
...
...
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