general cleanup
Some checks failed
Build and publish the docker image / build (push) Failing after 1m30s
Some checks failed
Build and publish the docker image / build (push) Failing after 1m30s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
@ -1,20 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) < 2 {
|
||||
log.Fatal("Expected URL as command-line argument")
|
||||
os.Exit(1)
|
||||
}
|
||||
url := os.Args[1]
|
||||
fmt.Println(url)
|
||||
if _, err := http.Get(url); err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user