Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

fix(bios): put back the last-attempt code #320

Merged
merged 1 commit into from
Mar 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmds/bios/content/tasks/bios-configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Templates:
)"
lastAttempt="$(
cat <<"EOF"
{{ if .Param "bios-target-configuration-compose" }}{{.ComposeParam "bios-target-configuration" | toJson}}{{else}}{{.ParamAsJSON "bios-target-configuration"}}{{end}}
{{.ParamAsJSON "bios-last-attempted-configuration"}}
EOF
)"
toTry="$(drp-bioscfg -driver {{.Param "bios-driver"}} -operation test <<< "$target")"
Expand Down