[next-0.10] fix build
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
ci/woodpecker/pr/debug Pipeline was successful
ci/woodpecker/deployment/debug Pipeline was successful
ci/woodpecker/deployment/release/2 Pipeline was successful
ci/woodpecker/deployment/release/1 Pipeline was successful
ci/woodpecker/deployment/release/3 Pipeline was successful
ci/woodpecker/deployment/release/4 Pipeline was successful
ci/woodpecker/deployment/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
ci/woodpecker/pr/debug Pipeline was successful
ci/woodpecker/deployment/debug Pipeline was successful
ci/woodpecker/deployment/release/2 Pipeline was successful
ci/woodpecker/deployment/release/1 Pipeline was successful
ci/woodpecker/deployment/release/3 Pipeline was successful
ci/woodpecker/deployment/release/4 Pipeline was successful
ci/woodpecker/deployment/publish Pipeline was successful
This commit is contained in:
parent
59f61c966a
commit
81cebdd124
1 changed files with 2 additions and 2 deletions
|
@ -520,7 +520,7 @@ impl System {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let hostname = self.local_status.read().unwrap().hostname.clone();
|
let hostname = self.local_status.read().unwrap().hostname.clone().unwrap();
|
||||||
if let Err(e) = c
|
if let Err(e) = c
|
||||||
.publish_consul_service(self.netapp.id, &hostname, rpc_public_addr)
|
.publish_consul_service(self.netapp.id, &hostname, rpc_public_addr)
|
||||||
.await
|
.await
|
||||||
|
@ -544,7 +544,7 @@ impl System {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let hostname = self.local_status.read().unwrap().hostname.clone();
|
let hostname = self.local_status.read().unwrap().hostname.clone().unwrap();
|
||||||
if let Err(e) = publish_kubernetes_node(k, self.netapp.id, &hostname, rpc_public_addr).await
|
if let Err(e) = publish_kubernetes_node(k, self.netapp.id, &hostname, rpc_public_addr).await
|
||||||
{
|
{
|
||||||
error!("Error while publishing node to Kubernetes: {}", e);
|
error!("Error while publishing node to Kubernetes: {}", e);
|
||||||
|
|
Loading…
Reference in a new issue