Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmc: logging output fix #198

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
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 cmc/cmc.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func NewCmc(c *Config) (*Cmc, error) {
for _, driver := range c.Drivers {
d, ok := drivers[strings.ToLower(driver)]
if !ok {
return nil, fmt.Errorf("driver %v not implemented", c.Drivers)
return nil, fmt.Errorf("driver %v not implemented", driver)
}
err = d.Init(driverConf)
if err != nil {
Expand Down
4 changes: 0 additions & 4 deletions example-setup/update-container-manifest-live
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,11 @@ fi

# Restore the original runc config
if [ "${exists}" = true ] ; then
echo "WRITING BACK ${original_json}"
echo "${original_json}" | sudo tee "${runc_config}"
else
sudo rm "${runc_config}"
fi

echo "RESTORED"
jq . "${runc_config}"

refvals=$(cat /tmp/container-refs)

# if containers not set, set it to the single container
Expand Down
Loading