This website requires JavaScript.
Explore
Help
Sign In
unistack-org
/
cloudinit
Watch
4
Star
0
Fork
0
You've already forked cloudinit
Code
Issues
1
Pull Requests
Packages
Projects
Releases
Wiki
Activity
db3f008543
cloudinit
/
datasource
/
datasource.go
7 lines
90 B
Go
Raw
Normal View
History
Unescape
Escape
refactor(*): Break apart packages
2014-03-18 20:00:41 +04:00
package
datasource
type
Datasource
interface
{
Fetch
(
)
(
[
]
byte
,
error
)
Use exponential backoff when fetching user-data from an URL. The user-cloudinit-proc-cmdline systemd unit is responsible for fetching user-data from various sources during the cloud-init process. When fetching user-data from an URL datasource we face a race condition since the network may not be available, which can cause the job to fail and no further attempts to fetch the user-data are made. Eliminate the race condition when fetching user-data from an URL datasource. Retry the fetch using an exponential backoff until the user-data is retrieved. Fixes issue 105.
2014-05-15 09:20:40 +04:00
Type
(
)
string
refactor(*): Break apart packages
2014-03-18 20:00:41 +04:00
}
Reference in New Issue
Copy Permalink