Coder Social home page Coder Social logo

Comments (2)

wangyu096 avatar wangyu096 commented on April 29, 2024

原因分析

由于主机不包含ipv4,但是程序处理中使用的是ipv4,造成代码报错

from bk-job.

wangyu096 avatar wangyu096 commented on April 29, 2024

修改方案

  1. 后端使用hostId来表示命名空间变量的主机信息,并兼容老的历史数据使用ipv4的方式
  2. 前端需要配合后端修改,查询执行详情-变量的API, 需要传入hostId,并兼容ip的方式。原来这个API是根据主机ip来获取变量的,现在ipv6环境需要使用hostId,所以后端提供了一个新的API。然后为了兼容老的历史数据,使用ip查询的功能还不能直接下线,前端需要根据后端是否返回hostId,来决定调用哪个API

企业微信截图_d0536843-0543-469c-befc-9524b49771ee

企业微信截图_d0536843-0543-469c-befc-9524b49771ee

from bk-job.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.