Fix node e2e panic when not using image config file.
This commit is contained in:
		| @@ -132,7 +132,7 @@ type internalImageConfig struct { | |||||||
| type internalGCEImage struct { | type internalGCEImage struct { | ||||||
| 	image     string | 	image     string | ||||||
| 	project   string | 	project   string | ||||||
| 	resources *Resources | 	resources Resources | ||||||
| 	metadata  *compute.Metadata | 	metadata  *compute.Metadata | ||||||
| 	machine   string | 	machine   string | ||||||
| 	tests     []string | 	tests     []string | ||||||
| @@ -209,7 +209,7 @@ func main() { | |||||||
| 					metadata:  getImageMetadata(imageConfig.Metadata), | 					metadata:  getImageMetadata(imageConfig.Metadata), | ||||||
| 					machine:   imageConfig.Machine, | 					machine:   imageConfig.Machine, | ||||||
| 					tests:     imageConfig.Tests, | 					tests:     imageConfig.Tests, | ||||||
| 					resources: &imageConfig.Resources, | 					resources: imageConfig.Resources, | ||||||
| 				} | 				} | ||||||
| 				if isRegex && len(images) > 1 { | 				if isRegex && len(images) > 1 { | ||||||
| 					// Use image name when shortName is not unique. | 					// Use image name when shortName is not unique. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Random-Liu
					Random-Liu