You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apisix.apache.org by kv...@apache.org on 2020/08/26 16:10:55 UTC

[apisix-control-plane] branch master updated: fix: typo in the tag (#16)

This is an automated email from the ASF dual-hosted git repository.

kvn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-control-plane.git


The following commit(s) were added to refs/heads/master by this push:
     new b182a65  fix: typo in the tag (#16)
b182a65 is described below

commit b182a6512bb0e52847ffcea56016049832c4a193
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Thu Aug 27 00:10:47 2020 +0800

    fix: typo in the tag (#16)
---
 pkg/mem/model.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/mem/model.go b/pkg/mem/model.go
index 2c62855..d82ba64 100644
--- a/pkg/mem/model.go
+++ b/pkg/mem/model.go
@@ -45,7 +45,7 @@ type Upstream struct {
 	ResourceVersion *string `json:"resource_version,omitempty" yml:"resource_version,omitempty"`
 	Name            *string `json:"name,omitempty" yml:"name,omitempty"`
 	Type            *string `json:"type,omitempty" yml:"type,omitempty"`
-	HashOn          *string `json:"hash_on,omitemtpy" yml:"hash_on,omitempty"`
+	HashOn          *string `json:"hash_on,omitempty" yml:"hash_on,omitempty"`
 	Key             *string `json:"key,omitempty" yml:"key,omitempty"`
 	Nodes           []*Node `json:"nodes,omitempty" yml:"nodes,omitempty"`
 	Weight          int64   `json:"weight"`