Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Preload systemdUnitManager hash cache #987

Merged
merged 4 commits into from
Oct 21, 2014
Merged

Preload systemdUnitManager hash cache #987

merged 4 commits into from
Oct 21, 2014

Conversation

bcwaldon
Copy link
Contributor

Fix #720

mutex: sync.RWMutex{},
}
return &mgr, nil
}

func hashUnitFileDirectory(dir string) (map[string]unit.Hash, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about just "hashUnitFiles"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You had to find something, didn't you.

@jonboulle
Copy link
Contributor

lgtm

bcwaldon added a commit that referenced this pull request Oct 21, 2014
Preload systemdUnitManager hash cache
@bcwaldon bcwaldon merged commit 238750b into coreos:master Oct 21, 2014
@bcwaldon bcwaldon deleted the 720 branch October 21, 2014 20:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnitState.UnitHash can be nil
2 participants