Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
d8dab5df
Commit
d8dab5df
authored
Jan 06, 2015
by
Alex Robinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor doc/comment fixes that came up while reading through some code.
parent
d098456b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
development.md
docs/devel/development.md
+3
-0
util.go
pkg/util/util.go
+2
-2
No files found.
docs/devel/development.md
View file @
d8dab5df
...
...
@@ -161,6 +161,9 @@ go run e2e.go --build
# Create a fresh cluster. Deletes a cluster first, if it exists
go run e2e.go
--up
# Create a fresh cluster at a specific release version.
go run e2e.go
--up
--version
=
0.7.0
# Test if a cluster is up.
go run e2e.go
--isup
...
...
pkg/util/util.go
View file @
d8dab5df
...
...
@@ -51,12 +51,12 @@ func HandleCrash() {
}
}
// Forever loops forever running f every d. Catches any panics, and keeps going.
// Forever loops forever running f every
perio
d. Catches any panics, and keeps going.
func
Forever
(
f
func
(),
period
time
.
Duration
)
{
Until
(
f
,
period
,
nil
)
}
// Until loops until stop channel is closed, running f every d.
// Until loops until stop channel is closed, running f every
perio
d.
// Catches any panics, and keeps going. f may not be invoked if
// stop channel is already closed.
func
Until
(
f
func
(),
period
time
.
Duration
,
stopCh
<-
chan
struct
{})
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment