Remove unused DeleteStream function
The function wasn't being used and should be removed from codebase.
This commit is contained in:
parent
106f0d66bb
commit
4366c364d0
1 changed files with 0 additions and 12 deletions
12
utils.go
12
utils.go
|
|
@ -131,15 +131,3 @@ func StreamExists(k *kinesis.Kinesis, streamName string) bool {
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeleteStream deletes a current Kinesis stream.
|
|
||||||
func DeleteStream(k *kinesis.Kinesis, streamName string) {
|
|
||||||
err := k.DeleteStream("test")
|
|
||||||
|
|
||||||
if err != nil {
|
|
||||||
fmt.Printf("DeleteStream ERROR: %v\n", err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.Printf("Stream [%v] is DELETING\n", streamName)
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue