Skip to content

Commit

Permalink
Merge pull request #6710 from GuoLiBin6/feat/glb-to-3.10/sangfor
Browse files Browse the repository at this point in the history
fix(v3.10): remove debug info
  • Loading branch information
easy-mj committed Jun 17, 2024
2 parents 885327e + 4c22c3b commit 6fe5e1a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions containers/Compute/sections/OsSelect/ImageSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,8 @@ export default {
}
},
async _fetchCacheimages () {
console.log('fetch cached images')
if (R.isNil(this.cacheImageParams) || R.isEmpty(this.cacheImageParams)) return
if (!this.isPublicImage && !this.isPrivateImage && !this.isVMware) return // 阻止不必要的请求,仅这三种情况需要渲染的是cacheimage,而且现在没有[需要标出哪些已缓存]的功能了
console.log('成功fetch')
const params = {
details: false,
order_by: 'ref_count',
Expand Down Expand Up @@ -695,7 +693,6 @@ export default {
}
},
getImageOpts (imageOpts = []) {
console.log('imageOpts', imageOpts)
let images = imageOpts.slice()
if (images && images.length > 0) {
images = images.filter((item) => {
Expand All @@ -707,7 +704,6 @@ export default {
return true
})
}
console.log('images', images.length)
if (images && images.length > 0) {
images.sort((a, b) => {
const aVersion = a.info && a.info.properties && a.info.properties.os_version
Expand Down
1 change: 0 additions & 1 deletion containers/Compute/utils/createServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,6 @@ export class GenCreateData {
data.billing_type = 'postpaid'
}
// 镜像类型为 iso 需要加参数 cdrom
console.log('查看imagetype', this.fd.imageType, IMAGES_TYPE_MAP.private_iso.key)
if (this.fd.imageType === IMAGES_TYPE_MAP.iso.key || this.fd.imageType === IMAGES_TYPE_MAP.private_iso.key) {
data.cdrom = this.fd.image.key
}
Expand Down
1 change: 0 additions & 1 deletion containers/Compute/views/vminstance/create/form/mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ export default {
this.validateForm()
.then(async formData => {
this.submiting = true
console.log('formData', formData)
const genCreteData = new GenCreateData(formData, this.form.fi)
const data = genCreteData.all()
if (data.custom_data_type) {
Expand Down

0 comments on commit 6fe5e1a

Please sign in to comment.