Skip to content

Commit

Permalink
Fix user, group, uid, gid value are losed after parsing config
Browse files Browse the repository at this point in the history
  • Loading branch information
voanhduy1512 authored and eikenb committed Apr 12, 2022
1 parent 0012f40 commit 2bfa3b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ func (c *TemplateConfig) Copy() *TemplateConfig {

o.Source = c.Source

o.User = c.User
o.Group = c.Group

o.Uid = c.Uid
o.Gid = c.Gid

if c.Wait != nil {
o.Wait = c.Wait.Copy()
}
Expand Down

0 comments on commit 2bfa3b6

Please sign in to comment.