From f14fe17b0f3c145ed8f612a2b51fdd053e82e921 Mon Sep 17 00:00:00 2001 From: Ysooraj Date: Tue, 28 Feb 2023 21:21:34 +0530 Subject: [PATCH 1/2] removed unwanted variable --- packages/httpres/trace.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/httpres/trace.go b/packages/httpres/trace.go index 4784801..e16362f 100644 --- a/packages/httpres/trace.go +++ b/packages/httpres/trace.go @@ -3,7 +3,6 @@ package httpreponser import ( "crypto/tls" "encoding/json" - "fmt" "log" "net/http" "net/http/httptrace" @@ -69,8 +68,8 @@ func trace() (*httptrace.ClientTrace, *models.Debug) { // Set up custom DNS resolver using DNS server from environment variables. allEnv := skyenv.GetEnv() dnsServer := allEnv.DnsServer - resolver := skydns.CustomResolver(dnsServer) - fmt.Sprintln(resolver) + skydns.CustomResolver(dnsServer) + // Create a new Debug object. d := &models.Debug{} From e6cf7b7bb4830d8e31f453953bc695815c8d5bce Mon Sep 17 00:00:00 2001 From: Ysooraj Date: Tue, 28 Feb 2023 21:25:46 +0530 Subject: [PATCH 2/2] removed pages deployment --- .github/workflows/static.yml | 42 ------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml deleted file mode 100644 index 17b3b53..0000000 --- a/.github/workflows/static.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages - -on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - # Single deploy job since we're just deploying - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Pages - uses: actions/configure-pages@v2 - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - # Upload entire repository - path: '/docs' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1