Skip to content

Conversation

zerosnake0
Copy link
Contributor

This is a modification for test purpose. The soft link in /usr/sbin on mac OS does not work

sudo ln -s /usr/local/bin/nginx /usr/sbin
Password:
ln: /usr/sbin/nginx: Operation not permitted

@codecov
Copy link

codecov bot commented May 7, 2020

Codecov Report

Merging #252 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #252      +/-   ##
==========================================
+ Coverage   66.43%   66.44%   +0.01%     
==========================================
  Files         186      186              
  Lines        9226     9226              
==========================================
+ Hits         6129     6130       +1     
+ Misses       2338     2337       -1     
  Partials      759      759              
Impacted Files Coverage Δ
utils/dedup/interval_trap.go 90.00% <0.00%> (-10.00%) ⬇️
lib/torrent/scheduler/events.go 72.59% <0.00%> (+1.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db81d2c...38d48cc. Read the comment docs.

nginx/nginx.go Outdated
@@ -111,6 +113,13 @@ func (c *Config) Build(params map[string]interface{}) ([]byte, error) {
return src, nil
}

func (c *Config) getBinary() string {
Copy link
Collaborator

Choose a reason for hiding this comment

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

the convention is this repo is to have a function called applyDefaults(). You can also put it in the beginning of Run().

@evelynl94 evelynl94 merged commit a67e219 into uber:master Sep 17, 2020
@zerosnake0 zerosnake0 deleted the nginx-path branch September 17, 2020 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants