adding necessary functions

This commit is contained in:
sharifelgamal
2018-03-29 12:54:00 -07:00
parent b315cf1049
commit abc85905c0
+9
View File
@@ -77,3 +77,12 @@ func (r *UserCommand) ExecuteCommand(config *manifest.Schema2Config) error {
config.User = uid
return nil
}
func (r *UserCommand) FilesToSnapshot() []string {
return []string{}
}
func (r *UserCommand) CreatedBy() string {
s := []string{r.cmd.Name(), r.cmd.User}
return strings.Join(s, " ")
}