mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 08:42:33 -04:00
yandex-export post-processor artifact id is url.
First storage path used.
This commit is contained in:
parent
0092007311
commit
bd1e4f9d7d
1 changed files with 2 additions and 7 deletions
|
|
@ -15,8 +15,8 @@ func (*Artifact) BuilderId() string {
|
|||
return BuilderId
|
||||
}
|
||||
|
||||
func (*Artifact) Id() string {
|
||||
return ""
|
||||
func (a *Artifact) Id() string {
|
||||
return a.urls[0]
|
||||
}
|
||||
|
||||
func (a *Artifact) Files() []string {
|
||||
|
|
@ -29,11 +29,6 @@ func (a *Artifact) String() string {
|
|||
return fmt.Sprintf("Exported artifacts in: %s", a.paths)
|
||||
}
|
||||
|
||||
func (a *Artifact) Url() string {
|
||||
// print url for first path
|
||||
return a.urls[0]
|
||||
}
|
||||
|
||||
func (*Artifact) State(name string) interface{} {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue