Commit 2713e472 authored by Geoff Simmons's avatar Geoff Simmons

Rename vcl.VCLSubType as vcl.SubType, silences golint "stutter".

parent 28a583d0
...@@ -459,15 +459,15 @@ const ( ...@@ -459,15 +459,15 @@ const (
Prefix Prefix
) )
// VCLSubType classifies the VCL subroutine in which a rewrite is // SubType classifies the VCL subroutine in which a rewrite is
// executed. // executed.
type VCLSubType uint8 type SubType uint8
const ( const (
// Unspecified means that the VCL sub was not specified in the // Unspecified means that the VCL sub was not specified in the
// user configuration, and will be inferred from the Source // user configuration, and will be inferred from the Source
// and Target. // and Target.
Unspecified VCLSubType = iota Unspecified SubType = iota
// Recv for vcl_recv // Recv for vcl_recv
Recv Recv
// Pipe for vcl_pipe // Pipe for vcl_pipe
...@@ -626,7 +626,7 @@ type Rewrite struct { ...@@ -626,7 +626,7 @@ type Rewrite struct {
Source string Source string
Method MethodType Method MethodType
Compare RewriteCompare Compare RewriteCompare
VCLSub VCLSubType VCLSub SubType
Select SelectType Select SelectType
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment