Skip to content

Commit

Permalink
Update godoc for KeyspaceMetadata() indicating what the function retu…
Browse files Browse the repository at this point in the history
…rns if the specified

keyspace does not exist.
  • Loading branch information
Jesse Claven committed Jan 19, 2017
1 parent 2f5e839 commit 90f11e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func (s *Session) executeQuery(qry *Query) *Iter {
return iter
}

// KeyspaceMetadata returns the schema metadata for the keyspace specified.
// KeyspaceMetadata returns the schema metadata for the keyspace specified. Returns an error if the keyspace does not exist.
func (s *Session) KeyspaceMetadata(keyspace string) (*KeyspaceMetadata, error) {
// fail fast
if s.Closed() {
Expand Down

0 comments on commit 90f11e5

Please sign in to comment.