Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoradio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
autoradio
Commits
a886d480
Commit
a886d480
authored
10 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
changed old function name
parent
b2616d08
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
node/node.go
+2
-2
2 additions, 2 deletions
node/node.go
with
2 additions
and
2 deletions
node/node.go
+
2
−
2
View file @
a886d480
...
...
@@ -98,7 +98,7 @@ type configWatcher struct {
upch
chan
bool
}
func
newConfig
Sync
er
(
client
autoradio
.
EtcdClient
,
config
*
clusterConfig
,
upch
chan
bool
)
*
configWatcher
{
func
newConfig
Watch
er
(
client
autoradio
.
EtcdClient
,
config
*
clusterConfig
,
upch
chan
bool
)
*
configWatcher
{
return
&
configWatcher
{
client
:
client
,
config
:
config
,
...
...
@@ -286,7 +286,7 @@ func NewRadioNode(name string, ips []net.IP, netDev string, bwLimit float64, cli
string
(
minfodata
),
uint64
(
*
masterElectionTtl
),
mech
),
watcher
:
newConfig
Sync
er
(
client
,
config
,
upch
),
watcher
:
newConfig
Watch
er
(
client
,
config
,
upch
),
icecast
:
NewIcecastController
(
name
),
reloadDelay
:
1000
*
time
.
Millisecond
,
heartbeat
:
uint64
(
*
nodeHeartbeat
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment