Skip to content

Commit

Permalink
Address linting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nandak522 committed May 24, 2023
1 parent 7562742 commit d8544e9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
steps:
- name: Setup Go
continue-on-error: false
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: "1.20" # The Go version to download (if necessary) and use.
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
continue-on-error: false
- name: Cache Go modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v3
continue-on-error: false
- name: Get Version
continue-on-error: false
Expand Down
2 changes: 1 addition & 1 deletion charts/hello-universe/values-default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ deployments:
# externalNodePort: 32758
# servicePortName: httpport
imageName: nanda/hello-universe
imageTag: v1.3.12
imageTag: v1.3.13
configMapName: config-plain
configFileName: config-file
secretName: secrets-plain
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func homePageHandler(rw http.ResponseWriter, r *http.Request) {
log.Debug("Serving request for path: ", path)
host, _ := os.Hostname()
content := "Hello Universe"
uptime := time.Now().Sub(StartTime).Round(time.Second)
uptime := time.Since(StartTime).Round(time.Second)
response := HomePageResponse{
RequestHeaders: r.Header,
Content: content,
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ package main
var VERSION = [...]string{
"1", // MAJOR,
"3", // MINOR,
"12", // PATCH,
"13", // PATCH,
}

0 comments on commit d8544e9

Please sign in to comment.