Skip to content

Commit

Permalink
nil interface
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares committed Jan 13, 2022
1 parent 1fbba98 commit 8bdf277
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/meroxa/root/resources/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ func TestCreateResourceExecutionWithEnvironmentName(t *testing.T) {
c.flags.Environment = r.Environment.Name

// override feature flags
startingFlags := global.Config.Get(global.UserFeatureFlagsEnv).(string)
featureFlags := global.Config.Get(global.UserFeatureFlagsEnv)
startingFlags := ""
if featureFlags != nil {
startingFlags = featureFlags.(string)
}
newFlags := ""
if startingFlags != "" {
newFlags = startingFlags + " "
Expand Down

0 comments on commit 8bdf277

Please sign in to comment.