Skip to content

Commit

Permalink
fix output, bump crystal
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaldrip committed Mar 16, 2020
1 parent f67420c commit 97d58d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
@@ -1 +1 @@
crystal 0.31.0
crystal 0.33.0
4 changes: 2 additions & 2 deletions shard.yml
@@ -1,6 +1,6 @@
name: psykube
version: 2.25.0
crystal: 0.30.0
version: 2.26.0
crystal: 0.33.0

authors:
- Jason Waldrip <jason@waldrip.net>
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/concerns/kubectl.cr
Expand Up @@ -109,7 +109,7 @@ module Psykube::CLI::Commands::Kubectl
# Generate manifests and assign to --filename
if manifest
file = {% if compare_versions(Crystal::VERSION, "0.27.0") < 0 %}Tempfile.new{% else %}File.tempfile{% end %}(manifest.kind)
file.print manifest.to_yaml
file.print manifest.to_json
file.flush
flags["--filename"] = file.path
end
Expand Down
2 changes: 0 additions & 2 deletions src/cli/commands/edit_secret.cr
Expand Up @@ -11,8 +11,6 @@ class Psykube::CLI::Commands::EditSecret < Admiral::Command

def run
json = kubectl_json(resource: "secret", name: arguments.name || actor.name)
puts json
return;
secret = Pyrite::Api::Core::V1::Secret.from_json(json)
data = decode(secret.data || {} of String => String)
tempfile =
Expand Down

0 comments on commit 97d58d2

Please sign in to comment.