1
0
Fork 0

personal/q3k/shipstuck: science

Change-Id: I382004def6a490e5bfc8a9e8b30b6d9890b633b0
master
q3k 2021-03-28 20:04:58 +00:00
parent 99b91b11f1
commit e9c56b581f
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ local mirko = import "../../kube/mirko.libsonnet";
local top = self,
shipstuck:: {
cfg:: {
image: "registry.k0.hswaw.net/q3k/shipstuck:315532800-c292243eb15fd4c0e6738cc9d1dbed75ada47221",
image: "registry.k0.hswaw.net/q3k/shipstuck:315532800-99b91b11f1e033cf7b10130722feb4a3111201bf",
domain: error "domain must be set",
},
component(cfg, env): mirko.Component(env, "shipstuck") {

View File

@ -45,7 +45,7 @@ func get(ctx context.Context) (bool, error) {
return false, fmt.Errorf("Decode: %w", err)
}
if v.Speed == 0.0 {
if v.Speed < 0.5 {
return true, nil
} else {
glog.Infof("Freed! %+v", v)