get ready for saving the keys
This commit is contained in:
parent
75d32ae82d
commit
842be5eadd
3 changed files with 8 additions and 7 deletions
|
@ -40,9 +40,11 @@ func SetPort(v string) func(*Manager) error {
|
|||
}
|
||||
|
||||
//SetSAMOpts sets the SAM options
|
||||
func SetSAMOpts(s string) func(*Manager) error {
|
||||
func SetSAMOpts(s []string) func(*Manager) error {
|
||||
return func(c *Manager) error {
|
||||
c.samopts = s
|
||||
for _, i := range s {
|
||||
c.samopts += i + " "
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue