1
0
mirror of https://github.com/rancher/os.git synced 2025-09-25 04:37:02 +00:00

simplistic start

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-03-07 09:49:28 +10:00
parent 8dc2050fd8
commit 5dbb0f2a28
5 changed files with 32 additions and 21 deletions

View File

@@ -62,6 +62,10 @@ type MetadataService struct {
}
func NewDatasource(root string) *MetadataService {
if root == "" {
root = DefaultAddress
}
return &MetadataService{Service: metadata.NewDatasource(root, apiVersion, userdataURL, metadataPath, nil)}
}