func (cnt *Img) writeImgManifest() { log.Get().Debug("Writing aci manifest") version := cnt.manifest.NameAndVersion.Version() if version == "" { version = utils.GenerateVersion() } utils.WriteImageManifest(&cnt.manifest, cnt.target+"/manifest", cnt.manifest.NameAndVersion.Name(), version) }
func (p *Pod) preparePodVersion() { if p.manifest.Name.Version() == "" { p.manifest.Name = *spec.NewACFullName(p.manifest.Name.Name() + ":" + utils.GenerateVersion()) } }