refactor: use SmallSHA

This commit is contained in:
2021-12-30 00:41:21 +01:00
parent 7460668ef4
commit 62441acf03
2 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ func ChaosVersion(recipeName string) (string, error) {
return version, err
}
version = head.String()[:8]
version = formatter.SmallSHA(head.String())
recipeDir := path.Join(config.RECIPES_DIR, recipeName)
isClean, err := gitPkg.IsClean(recipeDir)