aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-12-10 06:42:56 +0100
committerGitHub <noreply@github.com>2021-12-10 06:42:56 +0100
commit605e273ea37d638802cd96f955d55ace59c1ce9b (patch)
tree3cdf0f215f41b75a4c77c2899064904bcf374dbe
parent1a8f803f55879b5d0cb40e88cb5981d64555c1aa (diff)
parentfe308ea0d0ff6c31f2a218f8b47d8ace124ea679 (diff)
downloadgo-git-605e273ea37d638802cd96f955d55ace59c1ce9b.tar.gz
Merge pull request #420 from abhinav/packp-action-type
packp: Actions should have type Action
-rw-r--r--plumbing/protocol/packp/updreq.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/protocol/packp/updreq.go b/plumbing/protocol/packp/updreq.go
index 46ad6fd..5dbd8ac 100644
--- a/plumbing/protocol/packp/updreq.go
+++ b/plumbing/protocol/packp/updreq.go
@@ -87,9 +87,9 @@ type Action string
const (
Create Action = "create"
- Update = "update"
- Delete = "delete"
- Invalid = "invalid"
+ Update Action = "update"
+ Delete Action = "delete"
+ Invalid Action = "invalid"
)
type Command struct {