Create a list of known jobs
This commit is contained in:
parent
5aa2d72da0
commit
1fd0a2d8f3
5 changed files with 46 additions and 17 deletions
|
|
@ -5,6 +5,6 @@ import (
|
|||
"fmt"
|
||||
)
|
||||
|
||||
func GenContainerPrefix(image string) string {
|
||||
return fmt.Sprintf("minifaas-%x-", sha256.Sum224([]byte(image)))
|
||||
func GenContainerPrefix(jobtype string) string {
|
||||
return fmt.Sprintf("minifaas-%x-", sha256.Sum224([]byte(jobtype)))
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue