Skip to content

Commit 305f098

Browse files
committed
updated nil value type handling
1 parent 2f5f375 commit 305f098

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

service/session/state.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,8 @@ func (s *Session) ensureValidValue(value interface{}, parameter *state.Parameter
324324
}
325325
}
326326
valueType := reflect.TypeOf(value)
327-
328327
if valueType == nil {
329-
fmt.Printf("value type was nil %s\n", parameter.Name)
328+
return value, nil
330329
}
331330

332331
switch valueType.Kind() {

0 commit comments

Comments
 (0)