Skip to content

Commit

Permalink
Merge pull request #2 from tpepper/prepare
Browse files Browse the repository at this point in the history
osprepare: less redundant function name
  • Loading branch information
ikeydoherty authored Aug 23, 2016
2 parents a9af65a + 6ffc22e commit 936d478
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ciao-scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ func configSchedulerServer() (sched *ssntpSchedulerServer) {

func main() {
flag.Parse()
osprepare.PrepareOsDeps(schedDeps)
osprepare.InstallDeps(schedDeps)

sched := configSchedulerServer()
if sched == nil {
Expand Down
6 changes: 3 additions & 3 deletions osprepare/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ func collectPackages(dist distro, reqs PackageRequirements) []string {
return nil
}

// PrepareOsDeps installs all the dependencies defined in a component
// InstallDeps installs all the dependencies defined in a component
// specific PackageRequirements in order to enable running the component
func PrepareOsDeps(reqs PackageRequirements) {
func InstallDeps(reqs PackageRequirements) {
distro := getDistro()

if distro == nil {
Expand All @@ -114,5 +114,5 @@ func PrepareOsDeps(reqs PackageRequirements) {
// Bootstrap installs all the core dependencies required to bootstrap the core
// configuration of all Ciao components
func Bootstrap() {
PrepareOsDeps(BootstrapRequirements)
InstallDeps(BootstrapRequirements)
}

0 comments on commit 936d478

Please sign in to comment.