Commit 7dac88b5 authored by odatskov's avatar odatskov
Browse files

Working on the client calls

parent 71568e86
Pipeline #460740 passed with stage
in 36 minutes and 6 seconds
......@@ -56,7 +56,7 @@ func makeImage(path string, file string) Image {
registry = docker ; url = path
}
// Check if it is a valid repository, isValidImage
// TODO: Check if it is a valid repository, isValidImage
group_path := strings.Split(file,"/")
file_path := strings.Split(url,"/")
......@@ -115,10 +115,6 @@ func getImageList(root string, args *[]string, images *[]Image) {
}
}
func isRepoValid(repo Image) bool {
return true
}
// Returns true if the repository needs to be updated
func isImageStale(image *Image, cli *client.Client) bool {
......
......@@ -26,7 +26,6 @@ func Test_getField(t *testing.T) {
}
func Test_getImageList(t *testing.T) {
//----------------------------------------//
files := getFileList()
log.Printf("The repository contains %d files",len(files))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment