diff --git a/docs/2023-03-05-incident.html b/docs/2023-03-05-incident.html new file mode 100644 index 0000000..9c193fb --- /dev/null +++ b/docs/2023-03-05-incident.html @@ -0,0 +1,83 @@ + + + + + + + + + + + + +
Index
+

+ Incident come and go +

+

This is collect of all incidents I created in the past :(

+

+ Service starts with empty port +

+

Because all configs is read from file.

+

+ But the port config is empty -> So when service inits, it use that + empty port somehow. +

+

+ Solution: For some configs, make sure to failed first if + it's empty. +

+ +
+ Feel free to ask me via + email or + Mastodon. Source + code is available on + GitHub +
+ + diff --git a/docs/index.html b/docs/index.html index 5045349..4664071 100644 --- a/docs/index.html +++ b/docs/index.html @@ -62,6 +62,7 @@
  • Speed up writing Go test ASAP
  • +
  • Incident come and go
  • diff --git a/posts/2023-03-05-incident.md b/posts/2023-03-05-incident.md new file mode 100644 index 0000000..116a8ef --- /dev/null +++ b/posts/2023-03-05-incident.md @@ -0,0 +1,11 @@ +# Incident come and go + +This is collect of all incidents I created in the past :( + +## Service starts with empty port + +Because all configs is read from file. + +But the port config is empty -> So when service inits, it use that empty port somehow. + +**Solution**: For some configs, make sure to failed first if it's empty. diff --git a/posts/index.md b/posts/index.md index 874eed5..001b73e 100644 --- a/posts/index.md +++ b/posts/index.md @@ -13,3 +13,4 @@ This is where I dump my thoughts. - [Reload config](2022-10-26-reload-config) - [Install Arch Linux](2022-12-25-archlinux) - [Speed up writing Go test ASAP](2022-12-25-go-test-asap) +- [Incident come and go](2023-03-05-incident)