feat: add draft incident
parent
9ad5f2bda5
commit
99ec8d42c7
|
@ -0,0 +1,83 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown-dark.min.css"
|
||||||
|
/>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=Inter&family=JetBrains+Mono&family=Martian+Mono&family=Recursive&display=swap"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
|
</head>
|
||||||
|
<style>
|
||||||
|
/* https://github.com/sindresorhus/github-markdown-css */
|
||||||
|
.markdown-body {
|
||||||
|
box-sizing: border-box;
|
||||||
|
min-width: 200px;
|
||||||
|
max-width: 980px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.markdown-body {
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body {
|
||||||
|
/* font-family: "Inter", sans-serif; */
|
||||||
|
font-family: "Recursive", sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown-body code,
|
||||||
|
.markdown-body pre {
|
||||||
|
/* font-family: "JetBrains Mono", monospace; */
|
||||||
|
font-family: "Martian Mono", monospace;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<body class="markdown-body">
|
||||||
|
<div><a href="index">Index</a></div>
|
||||||
|
<h1>
|
||||||
|
<a
|
||||||
|
id="user-content-incident-come-and-go"
|
||||||
|
class="anchor"
|
||||||
|
aria-hidden="true"
|
||||||
|
href="#incident-come-and-go"
|
||||||
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
|
>Incident come and go
|
||||||
|
</h1>
|
||||||
|
<p>This is collect of all incidents I created in the past :(</p>
|
||||||
|
<h2>
|
||||||
|
<a
|
||||||
|
id="user-content-service-starts-with-empty-port"
|
||||||
|
class="anchor"
|
||||||
|
aria-hidden="true"
|
||||||
|
href="#service-starts-with-empty-port"
|
||||||
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
|
>Service starts with empty port
|
||||||
|
</h2>
|
||||||
|
<p>Because all configs is read from file.</p>
|
||||||
|
<p>
|
||||||
|
But the port config is empty -> So when service inits, it use that
|
||||||
|
empty port somehow.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<strong>Solution</strong>: For some configs, make sure to failed first if
|
||||||
|
it's empty.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
Feel free to ask me via
|
||||||
|
<a href="mailto:hauvipapro+posts@gmail.com">email</a> or
|
||||||
|
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>. Source
|
||||||
|
code is available on
|
||||||
|
<a href="https://github.com/haunt98/posts-go">GitHub</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -62,6 +62,7 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="2022-12-25-go-test-asap">Speed up writing Go test ASAP</a>
|
<a href="2022-12-25-go-test-asap">Speed up writing Go test ASAP</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li><a href="2023-03-05-incident">Incident come and go</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -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.
|
|
@ -13,3 +13,4 @@ This is where I dump my thoughts.
|
||||||
- [Reload config](2022-10-26-reload-config)
|
- [Reload config](2022-10-26-reload-config)
|
||||||
- [Install Arch Linux](2022-12-25-archlinux)
|
- [Install Arch Linux](2022-12-25-archlinux)
|
||||||
- [Speed up writing Go test ASAP](2022-12-25-go-test-asap)
|
- [Speed up writing Go test ASAP](2022-12-25-go-test-asap)
|
||||||
|
- [Incident come and go](2023-03-05-incident)
|
||||||
|
|
Loading…
Reference in New Issue