Cepave / open-falcon-backend

Apache License 2.0
23 stars 18 forks source link

[OWL-1964] change platform ORM mapping to platforms #375

Closed humorless closed 7 years ago

humorless commented 7 years ago

原本的 ORM mapping 關系是讓 BossHost 的 platform 對應到 hosts table 的 platform 欄位。 這個修改,改成讓 BostHost 的 platform 對應到 hosts table 的 platforms 欄位。如此就可以暫時解決掉平台復用的問題。

codecov-io commented 7 years ago

Codecov Report

Merging #375 into develop will increase coverage by <.01%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #375      +/-   ##
===========================================
+ Coverage    40.58%   40.59%   +<.01%     
===========================================
  Files          227      227              
  Lines        14884    14884              
===========================================
+ Hits          6041     6042       +1     
+ Misses        8533     8532       -1     
  Partials       310      310
Impacted Files Coverage Δ
modules/hbs/service/agent_heartbeat.go 100% <0%> (+1.31%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 57a81f6...ed1d2f3. Read the comment docs.