Skip to content

Commit 6c0f459

Browse files
committed
address some review comments
Signed-off-by: Stephanie <[email protected]>
1 parent 3648386 commit 6c0f459

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

main.go

-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ func main() {
2121
}
2222

2323
for _, component := range devfile.Data.GetComponents() {
24-
/*
25-
if component.Dockerfile != nil {
26-
fmt.Println(component.Dockerfile.DockerfileLocation)
27-
}
28-
*/
2924
if component.Container != nil {
3025
fmt.Println(component.Container.Image)
3126
}

pkg/devfile/parse.go

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import (
44
"github.com/devfile/parser/pkg/devfile/parser"
55
)
66

7-
// This is the top level parse code which has validation code specific to odo hence it cannot be kept inside the
8-
// devfile/parser package. That package is supposed to be independent of odo.
9-
107
// ParseFromURLAndValidate func parses the devfile data from the url
118
// and validates the devfile integrity with the schema
129
// and validates the devfile data.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)