Browse Source

Merge pull request #1177 from gravitl/develop

Hotfix for yaml mapping
Matthew R Kasun 3 years ago
parent
commit
781c35a888
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/buildandrelease.yml
  2. 1 1
      models/structs.go

+ 1 - 1
.github/workflows/buildandrelease.yml

@@ -273,7 +273,7 @@ jobs:
           tag: ${{ env.NETMAKER_VERSION }}
           overwrite: true
           prerelease: true
-          asset_name: netclient-${{ env.PACKAGE_VERSION }}-1.aarch4.rpm
+          asset_name: netclient-${{ env.PACKAGE_VERSION }}-1.aarch64.rpm
 
   netclient-mipsle:
     runs-on: ubuntu-latest

+ 1 - 1
models/structs.go

@@ -198,7 +198,7 @@ type NodeGet struct {
 // ServerConfig - struct for dealing with the server information for a netclient
 type ServerConfig struct {
 	CoreDNSAddr string `yaml:"corednsaddr"`
-	API         string `yaml:"apihost"`
+	API         string `yaml:"api"`
 	APIPort     string `yaml:"apiport"`
 	ClientMode  string `yaml:"clientmode"`
 	DNSMode     string `yaml:"dnsmode"`