gitignore fix
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,7 +4,9 @@
|
||||
#
|
||||
# Binaries for programs and plugins
|
||||
*
|
||||
!*/
|
||||
!*.*
|
||||
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Generating..."
|
||||
|
||||
openssl genpkey -algorithm RSA -out ./hmac_key.pem -pkeyopt rsa_keygen_bits:4096
|
||||
|
||||
openssl req -new -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -keyout api_key.pem -out api_cert.pem \
|
||||
-subj "/C=NL/ST=Noord-Holland/L=Amsterdam/O=ExOrg/OU=IT/CN=localhost"
|
||||
@@ -94,6 +94,9 @@ func RetrieveTokenNames() []string {
|
||||
}
|
||||
|
||||
func InsertTask(name, uuid, command string, nodeids []string, date string, expire time.Time) error {
|
||||
log.Println(name, uuid, command, nodeids, date, expire)
|
||||
|
||||
/*
|
||||
for _, singleNodeid := range nodeids {
|
||||
var count int
|
||||
err := db.QueryRow(declStat.CountDuplTasks, command, singleNodeid).Scan(&count)
|
||||
@@ -113,6 +116,7 @@ func InsertTask(name, uuid, command string, nodeids []string, date string, expir
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user