1
0
mirror of https://github.com/rancher/os.git synced 2025-09-05 08:42:38 +00:00

Add a little logging to make debugging datasources a little easier

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-07-18 21:52:28 +10:00
parent ad64c50cc1
commit d36d4555aa
3 changed files with 19 additions and 14 deletions

View File

@@ -356,6 +356,9 @@ func TestOvfTransport(t *testing.T) {
file.WriteString(tt.document)
v := NewDatasource(file.Name())
if v == nil {
continue
}
v.urlDownload = fakeDownloader
metadata, err := v.FetchMetadata()