Compare commits

..

No commits in common. "574467e3078e023d0d96056ab41d4ead34caf824" and "7bf6521002ca1984fba496fac9eb0b812dd4a22f" have entirely different histories.

3 changed files with 2 additions and 13 deletions

View File

@ -5,10 +5,6 @@ on:
- master - master
- dev - dev
- 'feature/**' - 'feature/**'
paths:
- '**.go'
- '**.yml'
- '**.yaml'
jobs: jobs:
test: test:
@ -40,8 +36,7 @@ jobs:
- name: checkout Code - name: checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: go vuln check - name: go vuln checker
uses: golang/govulncheck-action@v1 uses: golang/govulncheck-action@v1
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
go-package: ./...

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
/.env /.env
bin/* bin/*
/.env2

View File

@ -227,11 +227,6 @@ func (app *Application) Operation(op string, name, tipo, ipSTR,rID, comment stri
if name == "" { if name == "" {
panic("name cant be empty for op create") panic("name cant be empty for op create")
} }
if dn == "" {
app.log.Debug("domains available", "domains", app.zoneRecords)
dn = name
}
fmt.Printf("domain name: %s", dn) fmt.Printf("domain name: %s", dn)
rBody = app.GenerateReqBody(dn, tipo, app.publicIP.String(),comment, proxied) rBody = app.GenerateReqBody(dn, tipo, app.publicIP.String(),comment, proxied)
app.Create(*rBody) app.Create(*rBody)