forked from hswaw/hscloud
personal/q3k/shipstuck: science
Change-Id: I382004def6a490e5bfc8a9e8b30b6d9890b633b0
This commit is contained in:
parent
99b91b11f1
commit
e9c56b581f
2 changed files with 2 additions and 2 deletions
|
@ -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") {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue