Skip to content

Commit

Permalink
Remove unused reflection variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Travers Carter committed Mar 14, 2017
1 parent b57cc8c commit b8cbe70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ func expandFileConfig(config *fileConfig, metaClient *ec2metadata.EC2Metadata) {
rconfig := reflect.ValueOf(config)
for i := 0; i < rconfig.Elem().NumField(); i++ {
field := rconfig.Elem().Field(i)
ftype := rconfig.Elem().Type().Field(i)
if field.Type() != reflect.TypeOf("") {
continue
}
Expand Down

0 comments on commit b8cbe70

Please sign in to comment.