Commit 56803ec9 authored by Random-Liu's avatar Random-Liu

Fix node e2e panic when not using image config file.

parent ff3a847d
......@@ -132,7 +132,7 @@ type internalImageConfig struct {
type internalGCEImage struct {
image string
project string
resources *Resources
resources Resources
metadata *compute.Metadata
machine string
tests []string
......@@ -209,7 +209,7 @@ func main() {
metadata: getImageMetadata(imageConfig.Metadata),
machine: imageConfig.Machine,
tests: imageConfig.Tests,
resources: &imageConfig.Resources,
resources: imageConfig.Resources,
}
if isRegex && len(images) > 1 {
// Use image name when shortName is not unique.
......
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